How can I install Phidget22 Python module

Supporting 2.7 and 3.2+
Kyle
Phidgetsian
Posts: 13
Joined: Tue Jun 05, 2018 2:26 pm
Contact:

How can I install Phidget22 Python module

Postby Kyle » Thu Jul 12, 2018 3:00 pm

I downloaded and unziped the Python module. There are a setup.py file and a folder called Phidget22. Where should I put these files or what should I do to actually install the python module?

Sorry, it's a really dummy question. Please help. Thanks!
Last edited by Kyle on Thu Jul 12, 2018 3:05 pm, edited 1 time in total.

Kyle
Phidgetsian
Posts: 13
Joined: Tue Jun 05, 2018 2:26 pm
Contact:

Re: How can I install Phidget22 Python module

Postby Kyle » Thu Jul 12, 2018 3:04 pm

Ignore the post. I just noticed there was an typo in my command which cause the trouble.

It's super easy. Just unzip the downloaded module. cd in the directory and run

Code: Select all

sudo python setup.py install
. You my need to input the password to run as root.


Return to “Python”

Who is online

Users browsing this forum: No registered users and 1 guest