ti84
Posts: 70
Joined: Wed Feb 06, 2013 9:09 pm

Installing pyserial

Mon Mar 25, 2013 5:42 pm

How do you install pyserial? Do you just google and download the file to the raspberry pi?

gordon77
Posts: 4292
Joined: Sun Aug 05, 2012 3:12 pm

Re: Installing pyserial

Mon Mar 25, 2013 5:46 pm

sudo apt-get install python-serial

In lxterminal

For python2.7

Gordon77

ti84
Posts: 70
Joined: Wed Feb 06, 2013 9:09 pm

Re: Installing pyserial

Mon Mar 25, 2013 5:59 pm

what happens if you have raspberry pi model A with no internet connection...can you install it from a tar.gz file

gordon77
Posts: 4292
Joined: Sun Aug 05, 2012 3:12 pm

Re: Installing pyserial

Mon Mar 25, 2013 6:15 pm

Yes, you need the file pyserial-2.6.tar.gz from

https://pypi.python.org/pypi/pyserial

Startx
Using 'file manager'
Copy the file into /home/pi
Double click on pyserial-2.6.tar.gz
Choose 'Action'
Choose 'Extract'
double click on pyserial-2.6.tar0
Choose 'Action'
Choose 'Extract'
Open LXTerminal
type cd pyserial-2.6
press Enter
type sudo python setup.py install
press Enter

gordon77
Posts: 4292
Joined: Sun Aug 05, 2012 3:12 pm

Re: Installing pyserial

Wed Mar 27, 2013 11:24 am

Did it work OK ?

Gordon77

ti84
Posts: 70
Joined: Wed Feb 06, 2013 9:09 pm

Re: Installing pyserial

Wed Mar 27, 2013 3:12 pm

Gordon77

thank you for the help...I have not tried your suggestion, yet...hopefully this weekend I will get a chance to work on the Pi ;)

jped
Posts: 19
Joined: Tue Jun 04, 2013 12:02 am

Re: Installing pyserial

Tue Jul 02, 2013 1:51 pm

Hello all,
Whenever i try any way of installing pyserial
(sudo apt-get
pip
or easy_install)
I always get an error saying "something wicked happened resolving http://...
do any of you know of possible solutions?
Any other mirrors I can use?

DrMag
Posts: 63
Joined: Sat Jun 01, 2013 7:59 pm

Re: Installing pyserial

Tue Jul 02, 2013 5:19 pm

jped:

It's hard to know just what happened in your case, especially since the address being resolved isn't showing in your post. Are you on a Model B, and is it connected to the network properly? (eg., can you browse the internet without issue?)

6677
Posts: 383
Joined: Wed Mar 14, 2012 9:23 pm

Re: Installing pyserial

Tue Jul 02, 2013 6:09 pm

Try this first while connected to the internet (preferably via ethernet to eliminate any wifi errors).
sudo apt-get update
sudo apt-get upgrade

sanesh
Posts: 2
Joined: Mon Dec 30, 2013 10:27 am

Re: Installing pyserial

Mon Dec 30, 2013 10:31 am

I have a raspberry pi model B without internet connection.Can you suggest a way to install pyserial-2.7 into my pi?

suraj2596
Posts: 9
Joined: Sun Aug 24, 2014 4:43 pm

Re: Installing pyserial

Sat Sep 06, 2014 11:41 am

Startx
Using 'file manager'
Copy the file into /home/pi
Double click on pyserial-2.6.tar.gz
Choose 'Action'
Choose 'Extract'
double click on pyserial-2.6.tar0
Choose 'Action'
Choose 'Extract'
Open LXTerminal
type cd pyserial-2.6
press Enter
type sudo python setup.py install
press Enter

Return to “Python”