GitHub TC-08 Python example code on Mac BigSur

Discussion forum for the Picoscope 6 Mac software
Post Reply
neoflash
Newbie
Posts: 0
Joined: Tue Nov 09, 2021 1:04 am

GitHub TC-08 Python example code on Mac BigSur

Post by neoflash »

Hi,

I have installed PicoSDK-10.7.21.227.pkg and picolog 6 on Mac. The PicoLog 6 works fine.

I have also installed GitHub package from here: https://github.com/picotech/picosdk-python-wrappers

Then I go to the example python code: usbtc08Examples/tc08SingleModeExample.py

python3 tc08SingleModeExample.py

The error message I got is as below. Not sure which step goes wrong?

Code: Select all

Traceback (most recent call last):
  File "tc08SingleModeExample.py", line 9, in 
    from picosdk.usbtc08 import usbtc08 as tc08
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/picosdk/usbtc08.py", line 19, in 
    usbtc08 = usbtc08lib()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/picosdk/usbtc08.py", line 16, in __init__
    super(usbtc08lib, self).__init__("usbtc08")
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/picosdk/library.py", line 49, in __init__
    self._clib = self._load()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/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 (usbtc08) not found, check LD_LIBRARY_PATH

Bilby42
Newbie
Posts: 0
Joined: Thu May 19, 2022 3:44 am

Re: GitHub TC-08 Python example code on Mac BigSur

Post by Bilby42 »

Any progress on this? I have exactly the same problem using the TC-08 with Python code. PicoScope works fine.

Post Reply