prodata
Posts: 118
Joined: Tue Jan 24, 2012 5:53 pm
Contact: Website

How to install pyserial?

Tue May 15, 2012 5:10 pm

Sorry, me again... but almost there now!

I need to install pyserial (which doesn't seem to be there in the Debian Python by default) in order to talk to a serial device. Naively, I tried:

sudo apt-get install pyserial

but that fails (as pyserial can't be found). Is there a simple way of getting it and also placing it in its correct Python directory, perhaps all with a single command? Or is that expecting too much?

User avatar
croston
Posts: 667
Joined: Sat Nov 26, 2011 12:33 pm
Location: Blackpool
Contact: Website

Re: How to install pyserial?

Tue May 15, 2012 5:20 pm

From memory:
$ sudo apt-get install python-serial
or
$ sudo apt-get install python3-serial

If I am wrong, you can search Debian packages using:
$ aptitude search serial

prodata
Posts: 118
Joined: Tue Jan 24, 2012 5:53 pm
Contact: Website

Re: How to install pyserial?

Tue May 15, 2012 5:24 pm

Thanks - magic. Wasn't sure about the installation line that said ' ...processing triggers for python-central...' though.

fabads
Posts: 1
Joined: Thu Jan 16, 2014 1:47 pm

Re: How to install pyserial?

Thu Jan 16, 2014 1:50 pm

Hi,

Using this method, pyserial was installed but I was unable to launch the provided tools with the pyserial distribution (list_port, miniterm etc).

First I installed pip then installed pyserial module from pip:
sudo apt-get install python-pip
sudo pip install pyserial (add --upgrade if you installed previousliy using the first method)

Hope it helps.

Fabrice

Loonhaunt
Posts: 51
Joined: Sat Nov 16, 2013 5:13 am

Re: How to install pyserial?

Sun Mar 02, 2014 3:25 pm

fabads wrote:Hi,

Using this method, pyserial was installed but I was unable to launch the provided tools with the pyserial distribution (list_port, miniterm etc).

First I installed pip then installed pyserial module from pip:
sudo apt-get install python-pip
sudo pip install pyserial (add --upgrade if you installed previousliy using the first method)

Hope it helps.

Fabrice
Did you ever get this to work???

Dave

shwnvntr
Posts: 6
Joined: Mon Jan 25, 2016 5:55 am

Re: How to install pyserial?

Mon Jan 25, 2016 6:07 am

Hello
not sure if this is the right place.
pi flavour maker
trying to make 16.04 mate and i get all the way to installing
python serials 3.0 but 3.0.1 is installed. and stop..




getting this on this page

General Error
SQL ERROR [ mysqli ]
Too many connections [1040]
An sql error occurred while fetching this page. Please contact an administrator if this problem persists.

DirkS
Posts: 7547
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How to install pyserial?

Mon Jan 25, 2016 10:09 am

shwnvntr wrote:Hello
not sure if this is the right place.
No, it's not. You should have started a new topic.

re that error: try again later.

shwnvntr
Posts: 6
Joined: Mon Jan 25, 2016 5:55 am

pyserials 3.0 over 3.0-1

Mon Jan 25, 2016 8:28 pm

well since i was givin great help i desided to format and reinstall

so back to my question
how do i install pyserials 3.0 over version 3.0-1

DirkS
Posts: 7547
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: pyserials 3.0 over 3.0-1

Mon Jan 25, 2016 8:38 pm

shwnvntr wrote:well since i was givin great help i desided to format and reinstall1
Great... and goodbye.

shwnvntr
Posts: 6
Joined: Mon Jan 25, 2016 5:55 am

pyserial 3.0 over 3.0.1

Mon Jan 25, 2016 9:49 pm

so just comments.. no help... going on 3 days now.. still no help..

how do i install pyserial 3.0 not 3.0.1
any help would be great.

asandford
Posts: 1677
Joined: Mon Dec 31, 2012 12:54 pm
Location: Ealing

Re: pyserial 3.0 over 3.0.1

Mon Jan 25, 2016 10:25 pm

shwnvntr wrote:so just comments.. no help... going on 3 days now.. still no help..

how do i install pyserial 3.0 not 3.0.1
any help would be great.
As virtually none of us here get paid to reply, you might get a response, or you might not - demanding it reduces the possibilty even more.
Have you tried the ubuntu forums (it is their OS - not the foundations)?

shwnvntr
Posts: 6
Joined: Mon Jan 25, 2016 5:55 am

Re: How to install pyserial?

Tue Jan 26, 2016 1:28 am

thanks for your help
please delete my post and this account.. thanks.

Return to “Beginners”

Who is online

Users browsing this forum: LetHopeItsSnowing and 35 guests