ImportError: No module named 'Phidget22'

Supporting 2.6 and up
miker2808
Fresh meat
Posts: 1
Joined: Sun Jul 25, 2021 1:21 am
Contact:

Re: ImportError: No module named 'Phidget22'

Post by miker2808 »

Solution I've found:
install Phidgets lib (./configure -> make -> make install)
then, "sudo pip3 install Phidgets22"
then "sudo python3 <your_script_py>"
The reason I guess is both because phidgets IMU requires root privilages (unless you give permissions in a different method) (this was written in the phidgets pdf manual (cant give URL due to site restrictions))
and for some reason using "pip3 install Phidgets22" installs the package, and the module runs with non-root python script, but it wont detect the device (in my case atleast), running the script as root gave "no phidgets22 module", and using the following commands fixed all these issues. I literally made an account for those who will see this and will need a solution.
Hope I could help.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests