PicoSDK for Mac

Discussion forum for the Picoscope 6 Mac software
Post Reply
Posts: 0
Joined: Mon Apr 26, 2021 7:32 pm

PicoSDK for Mac

Post by davidfokkema »

Hi all,

I have been using picoscopes for a few years now and was using drivers I retrieved from the PicoScope 6 application following the instructions from some forum post with some additional library relinking to fix errors with matplotlib. Not fun, but I got it to work with the python wrappers in a conda environment. Since this is not a very portable solution I was hoping for something better to be released sometime in the then-future.

I was quite happy to see that a few months ago PicoSDK for Mac was released! I just installed it and created a clean conda environment in which I installed the newest python wrappers. However:

Code: Select all

>>> from picosdk.discover import find_all_units
Traceback (most recent call last):
  File "", line 1, in 
    from picosdk.discover import find_all_units
  File "/Users/david/anaconda3/envs/testpicosdk/lib/python3.9/site-packages/picosdk/discover.py", line 5, in 
    from picosdk.ps2000 import ps2000
  File "/Users/david/anaconda3/envs/testpicosdk/lib/python3.9/site-packages/picosdk/ps2000.py", line 20, in 
    ps2000 = Ps2000lib()
  File "/Users/david/anaconda3/envs/testpicosdk/lib/python3.9/site-packages/picosdk/ps2000.py", line 17, in __init__
    super(Ps2000lib, self).__init__("ps2000")
  File "/Users/david/anaconda3/envs/testpicosdk/lib/python3.9/site-packages/picosdk/library.py", line 49, in __init__
    self._clib = self._load()
  File "/Users/david/anaconda3/envs/testpicosdk/lib/python3.9/site-packages/picosdk/library.py", line 71, in _load
    raise CannotFindPicoSDKError("PicoSDK (%s) not found, check %s" % (self.name, env_var_name))
CannotFindPicoSDKError: PicoSDK (ps2000) not found, check LD_LIBRARY_PATH
This location: https://github.com/picotech/picosdk-python-wrappers still references the old forum post for MacOS users and does not reference the PicoSDK for Mac. I couldn't find any documentation regarding this new release. Clearly I'm missing something 😅.

Question: how am I supposed to use the PicoSDK for Mac using Python? Thanks!

Best regards,

Posts: 0
Joined: Tue May 03, 2016 8:58 am

Re: PicoSDK for Mac

Post by grubi »

Vote +1
I'm also very interested on that!
Posted something similar in:

but also didn't get an answer so far.

Post Reply