Page 1 of 1

Beginner needs help with Phidget22 library installation

Posted: Sun May 15, 2022 11:56 am
by KenAstroMan
Hi

I have bought a Phidgets 2/2/2 USB interface and installed the libraries and it works fine with the Phidget Control Panel.

I have two versions of PYTHON on my machine Python 3.10 (64bit) and also Spyder 4.0 under Anaconda.

How to I get either of the Python programs to be able to use the Phidgets Library.

I've tried pip install with no luck.
I guess its just a case of the Python knowing where to look.

an example of how to do it would be great.

I'm a bit of Dinosaur with coding using ATLAS in 1969 and FORTRAN ever since but would like to get to grips with PYTHON.

Thanks is advance

Ken

Re: Beginner needs help with Phidget22 library installation

Posted: Mon May 16, 2022 11:51 am
by mparadis
When you try to install with pip, do you get any error messages or does it install successfully? If you use the command "pip list" you should be able to see Phidget22 somewhere in that list if it's installed properly.

If you still can't get pip to work, you can download the python module directly from the python page and install using "python setup.py install".