NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Support Forum » Installing python serial on ubuntu

June 09, 2011
by awkwardsaw
awkwardsaw's Avatar

I'm finally attempting to work with serials in python, and i'm having trouble installing pyserial. I followed the directions in the README file(running via the shell and terminal), and i get permission denied, although my account is an administrator. I'm unfamiliar with Ubuntu, so any help is appreciated :)

June 10, 2011
by awkwardsaw
awkwardsaw's Avatar

So i got it installed, but it put the serial folder in the python 2.6 lib, not 2.7 :\

June 12, 2011
by hevans
(NerdKits Staff)

hevans's Avatar

Hi awkwardsaw,

Does this mean you got PySerial working? On Ubuntu its generally easier to use the repositories instead of compiling stuff from scratch (not that it is bad to learn, but its easier to manage all the packages with apt-get). PySerial is as easy as doing

sudo apt-get install python-serial


Post a Reply

Please log in to post a reply.

Did you know that you can turn a $20 digital scale into a live weight sensor using our kit with a few extra parts? Learn more...