Error with Python 3.11.3: Cannot load library picoipp.dll

Post general discussions on using our drivers to write your own software here
Post Reply
shaider
Newbie
Posts: 0
Joined: Fri Jun 02, 2023 3:18 pm

Error with Python 3.11.3: Cannot load library picoipp.dll

Post by shaider »

I am trying to use the picosdk-python-wrappers package in my Windows application to connect to my Picoscope 5442D. I have followed the setup instructions (installed the SDK and the python package on Windows).

When I run any of the examples with Python 3.11.3, I get the following error:

Code: Select all

ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
ERROR: Cannot load library picoipp.dll
Traceback (most recent call last):
  File "C:\Users\prodtest\Documents\repos\cpc-qt\external\picosdk-python-wrappers\pico.py", line 3, in 
    scopes = find_all_units()
             ^^^^^^^^^^^^^^^^
  File "C:\Users\prodtest\Documents\repos\cpc-qt\external\picosdk-python-wrappers\picosdk\discover.py", line 51, in find_all_units
    raise DeviceNotFoundError("Could not find any devices on any drivers.")
picosdk.errors.DeviceNotFoundError: Could not find any devices on any drivers.
This is my Python script:

Code: Select all

from picosdk.discover import find_all_units

scopes = find_all_units()

for scope in scopes:
    print(scope.info)
    scope.close()


The odd thing is that when I revert to Python 3.9.12, the example works fine. I am not sure why there is an issue with the picoipp.dll file, can someone please help?

Post Reply