Picosdk-python-wrappers for ADC-24 (picohrdl)

Post your Linux discussions here
Post Reply
DanielO
Newbie
Posts: 0
Joined: Fri Dec 09, 2022 9:38 am
Location: Portugal

Picosdk-python-wrappers for ADC-24 (picohrdl)

Post by DanielO »

Hi there,

I download the Github SDK to use it with the ADC-24 data logger, followed the install steps without any trouble.
Also changed setup.py to picohrdl

Code: Select all

if not os.path.exists(signalfile):
    name = 'picohrdl'
But now I'm trying to run the picohrdlSingleModeExample.py and I got the following error:

Code: Select all

File "/usr/local/lib/python3.10/dist-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 (picohrdl) not found, check LD_LIBRARY_PATH
What have I missed?
I'm using Ubuntu 20 on WSL with virtual env

Thank you
------------------
Daniel O.

Post Reply