View Single Post
cmdowns's Avatar
Posts: 100 | Thanked: 13 times | Joined on Mar 2008
#1
Hello, I trying to run some code in Python to send serial data from my n800 (os2008) through usb using the PySerial module. I downloaded Pyserial from sourceforge, unzipped it to /usr/bin and then ran the setup inside /usr/bin/pyserial2.2 using the command
Code:
# sudo python setup.py install
Unfortunately, I can't seem to get the module to work. Simply trying to import pyserial from the python prompt gives me the following message:
Code:
>>> import serial

Traceback (most recent call last):

File "<stdin>", line 1, in <module>

ImportError: No module named serial
Can anyone tell me what I am doing wrong? Do I need to install the module in a specific place in the directory? And if so, where?
 

The Following User Says Thank You to cmdowns For This Useful Post: