raise CannotOpenPicoSDKError("PicoSDK (%s) not compatible (check 32 vs 64-bit): %s" % (self.name, e))
CannotOpenPicoSDKError: PicoSDK (ps6000) not compatible (check 32 vs 64-bit): [Error 193] %1 is not a valid Win32 application
I have tried both SDK 32 bit and 64 bit.
Before installing the 32 bit, I completely uninstalled 64-bit version to avoid any conflicts.
I recently experienced the exact same error when trying to run the example python code on my W7-64bit PC running the 64 bit SDK. I was using SDK version 10.6.13.58 with a 5242D, and was running the code through 64-bit Canopy. Any solutions?
We have found in testing that the order of the directories needs to be rearranged depending on Python environment. I will raise a request for this to be investigated.
I have run into similar issues trying to run the picosdk-python-wrappers in anaconda 3 on Windows 10. I'm running 64-bit python version 3.9.12. When I try to run "from picosdk.ps4000a import ps4000a as ps", I get the "[Error 193] %1 is not a valid Win32 application" seen by other posters.
I have been trying to change my sys.path in python to include all directories containing SDK libraries and all directories containing picosdk-python-wrappers python scripts. I have also tried messing with my Windows environment variables. Does PicoTech have updated advice on how to order the directories in the python sys.path and in windows environment variables?
I have run into similar issues trying to run the picosdk-python-wrappers in anaconda 3 on Windows 10. I'm running 64-bit python version 3.9.12. When I try to run "from picosdk.ps4000a import ps4000a as ps", I get the "[Error 193] %1 is not a valid Win32 application" seen by other posters.
Same here, changing sys.path didn't work. I'm using:
* Spyder version: 5.1.5
* Python version: 3.9.12 64-bit
* Operating System: Windows 10
If I can't make it work I'm planning on reinstalling python, but don't want to cause the delay it may cause, so is there any other way to solve the error? Thanks in advance.