Picoscope 5442D Python mac config

Post any questions you may have about our current range of oscilloscopes
Post Reply
karota
Newbie
Posts: 0
Joined: Tue Jul 18, 2023 8:47 am

Picoscope 5442D Python mac config

Post by karota »

Hello everyone,

I am trying to configure my picoscope with Python in order to get a stream of data on my mac.

I did everything that is written on the README.md here: https://github.com/picotech/picosdk-python-wrappers
So installed the SDK and configured python as explained in the README

I tried to compile as an example the code in the https://github.com/picotech/picosdk-pyt ... Example.py
but I get this error

Code: Select all

Exception has occurred: CannotFindPicoSDKError
PicoSDK (ps5000a) not found, check LD_LIBRARY_PATH
  File "/Users/mdebari/ARTURIA/Projects/testPico/testStream.py", line 10, in 
    from picosdk.ps5000a import ps5000a as ps
picosdk.errors.CannotFindPicoSDKError: PicoSDK (ps5000a) not found, check LD_LIBRARY_PATH
I added this line in the .zhrc file

Code: Select all

export LD_LIBRARY_PATH=/Library/Frameworks/PicoSDK.framework/Libraries/libpicoipp/:/Library/Frameworks/PicoSDK.framework/Libraries/libps5000a
but it's still not working

Has anyone an idea on how to fix this?

Thank you very much

Post Reply