Installing the python driver bindings

Discussion forum for the Picoscope 6 Linux software
Post Reply
victor93
Newbie
Posts: 0
Joined: Tue Oct 27, 2020 2:55 pm

Installing the python driver bindings

Post by victor93 »

Hi,

I want to instrument my oscilloscope with a python script but I encounter a problem when executing the setup.py script needed to instatllate the driver.
I have installed the ps5000 library, which can be found in \opt in my computer.

When i execute the following command i have an error message

Code: Select all

victor@victor-X455LJ:~$ sudo python3 setup.py install
[sudo] Mot de passe de victor : 
running install
running build
running build_py
error: package directory 'picosdk' does not exist
I don't know why i have this error message
I use Ubuntu 20.4 and python 3.7

All help is welcome,
Thank you in advance
Attachments
Capture d’écran du 2020-10-27 16-18-37.png

NeilH
PICO STAFF
PICO STAFF
Posts: 266
Joined: Tue Jul 18, 2017 8:28 am

Re: Installing the python driver bindings

Post by NeilH »

Hi

Currently the setup.py script will look for only the ps2000 files to check you have the drivers installed, you can change this to look for the ps5000 files by changing the name variable on line 16 of the script.

Hopefully that solves the error for you

Neil
Neil
Technical Support Engineer

Post Reply