Cannot run sample files from picosdk-python-wrappers repository

Having problems ? let us know the details here
Post Reply
msiddiq7
Newbie
Posts: 1
Joined: Thu Jul 16, 2020 10:20 pm

Cannot run sample files from picosdk-python-wrappers repository

Post by msiddiq7 »

I have installed picosdk and the required libraries to run the example code posted at:
https://github.com/picotech/picosdk-python-wrappers

But for some reason, I get this error (see attached) and have no idea what the issue is.

Error:
Traceback (most recent call last):
File "ps2000BlockExample.py", line 10, in
from picosdk.ps2000 import ps2000 as ps
File "/Users/mustafasiddiqui/.local/share/virtualenvs/weld-monitor-izOhh0DV/lib/python3.7/site-packages/picosdk/ps2000.py", line 20, in
ps2000 = Ps2000lib()
File "/Users/mustafasiddiqui/.local/share/virtualenvs/weld-monitor-izOhh0DV/lib/python3.7/site-packages/picosdk/ps2000.py", line 17, in __init__
super(Ps2000lib, self).__init__("ps2000")
File "/Users/mustafasiddiqui/.local/share/virtualenvs/weld-monitor-izOhh0DV/lib/python3.7/site-packages/picosdk/library.py", line 49, in __init__
self._clib = self._load()
File "/Users/mustafasiddiqui/.local/share/virtualenvs/weld-monitor-izOhh0DV/lib/python3.7/site-packages/picosdk/library.py", line 71, in _load
raise CannotFindPicoSDKError("PicoSDK (%s) not found, check %s" % (self.name, env_var_name))
picosdk.errors.CannotFindPicoSDKError: PicoSDK (ps2000) not found, check LD_LIBRARY_PATH
Attachments
error.png

NeilH
PICO STAFF
PICO STAFF
Posts: 225
Joined: Tue Jul 18, 2017 8:28 am

Re: Cannot run sample files from picosdk-python-wrappers repository

Post by NeilH »

Have you followed the setup steps in the README file?

Have you got the same bit version of the PicoSDK as your installed python?
Neil
Technical Support Engineer

Post Reply