Search found 8 matches

by tsassonx
Sun Jun 13, 2021 6:27 am
Forum: General Software Discussions
Topic: Problems getting SDK running on Python - SOLVED!
Replies: 8
Views: 18038

Re: Problems getting SDK running on Python - SOLVED!

Are you saying the 'ps2000.dll' is not the same version, or not the same one?
Perhaps you can look in the Path environment variable and change the order of the paths looked at, so the SDK will get a priority over the Picoscope directory.
by tsassonx
Wed Mar 04, 2020 11:18 am
Forum: General Software Discussions
Topic: Using Python Wrapper
Replies: 3
Views: 6731

Re: Using Python Wrapper

Hi, There is still a problem with setup.py, and I don't know who to address this issue as there is no "Issues" tab on the github page. The issue is that ctypes.WinDLL returns an exception in setup.py, even if the file ps2000.dll exists where it is being looked for, so if I comment out the whole sect...
by tsassonx
Wed Mar 04, 2020 10:51 am
Forum: General Software Discussions
Topic: New SDK Installer Instructions
Replies: 16
Views: 45945

Python does not identify that SDK is installed

Hi, I installed the latest SDK (PicoSDK 10.6.13 (32-bit)) and then tried to install the python package, but I receive this message: $ python setup.py install Please install the PicoSDK in order to use this wrapper.Visit https://www.picotech.com/downloads I have Windows 10 19H1. I tried again with Pi...
by tsassonx
Wed Sep 18, 2019 8:24 am
Forum: General Software Discussions
Topic: Problems getting SDK running on Python - SOLVED!
Replies: 8
Views: 18038

Re: Problems getting SDK running on Python - SOLVED!

Are you sure you saw quite a few? Perhaps we're looking at different versions, but this is the newest version of setup.py file, use this one (with commented part as my edit): # # Copyright (C) 2017-2018 Pico Technology Ltd. # from __future__ import print_function from distutils.core import setup imp...
by tsassonx
Tue Aug 13, 2019 7:55 am
Forum: General Software Discussions
Topic: Using Python Wrapper
Replies: 3
Views: 6731

Re: Using Python Wrapper

Thanks!
I got it to work, the setup.py file malfunctions, the try...except there does not identify the library so removing it has made me install successfully.
by tsassonx
Mon Aug 12, 2019 12:09 pm
Forum: General Software Discussions
Topic: Problems getting SDK running on Python - SOLVED!
Replies: 8
Views: 18038

Re: Problems getting SDK running on Python - SOLVED!

Update: I removed the try...except section in setup.py, then ran again python setup.py install And the package was installed. To investigate the phenomenon, I ran setup.py in debug mode, tracked the find_library method and in debug mode it works, it finds ps2000.dll in its lib folder. However, when ...
by tsassonx
Mon Aug 12, 2019 11:51 am
Forum: General Software Discussions
Topic: Using Python Wrapper
Replies: 3
Views: 6731

Using Python Wrapper

Hi,
I managed to run tests using the example which comes with the wrapper.
How can I implement the test in my own project? Am I supposed to copy the whole repo as a directory in my repo?
I seem to need the picosdk package known to my python interpreter.

Thank you
by tsassonx
Mon Aug 12, 2019 11:35 am
Forum: General Software Discussions
Topic: Problems getting SDK running on Python - SOLVED!
Replies: 8
Views: 18038

Re: Problems getting SDK running on Python - SOLVED!

Hi,
I have the same issue, I installed the SDK but setup.py replies:

Code: Select all

Please install the PicoSDK in order to use this wrapper.Visit https://www.picotech.com/downloads
How is the problem solved and what am I supposed to do?