Python Forum
Failed attempt to install pyserial
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Failed attempt to install pyserial
#5
skeeve Wrote:I untarred it.
Use pip or wheel(pip install wheel).

There install doc.
Just pip install pyserial should work.
mint@mint ~ $ pip -V
pip 9.0.1 from /home/mint/.pyenv/versions/3.6.2/lib/python3.6/site-packages (python 3.6)

mint@mint ~ $ pip install pyserial
Collecting pyserial
  Downloading pyserial-3.4-py2.py3-none-any.whl (193kB)
    100% |████████████████████████████████| 194kB 1.8MB/s 
Installing collected packages: pyserial
Successfully installed pyserial-3.4

mint@mint ~ $ python
Python 3.6.2 (default, Aug  6 2017, 12:55:04) 
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
>>> serial.VERSION
'3.4'
Going back to OS default and try Python 2.
mint@mint ~ $ pyenv local system
mint@mint ~ $ pip2 -V
pip 8.1.1 from /usr/lib/python2.7/dist-packages (python 2.7)

mint@mint ~ $ pip2 install pyserial
Collecting pyserial
  Using cached pyserial-3.4-py2.py3-none-any.whl
Installing collected packages: pyserial
Successfully installed pyserial-3.0.1

mint@mint ~ $ python2
Python 2.7.12 (default, Nov 19 2016, 06:48:10) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import serial
>>> serial.VERSION
'3.4'
As you i have no problems here.
Reply


Messages In This Thread
Failed attempt to install pyserial - by skeeve - Nov-07-2017, 03:09 AM
RE: Failed attempt to install pyserial - by Larz60+ - Nov-07-2017, 03:24 AM
RE: Failed attempt to install pyserial - by skeeve - Nov-07-2017, 07:12 AM
RE: Failed attempt to install pyserial - by Larz60+ - Nov-07-2017, 09:02 AM
RE: Failed attempt to install pyserial - by snippsat - Nov-07-2017, 05:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to install "pip install pyserial" Joni_Engr 2 2,805 Aug-09-2021, 08:35 AM
Last Post: Joni_Engr
  IndexError in Project Euler attempt CRISPRmetoopls 3 2,412 Aug-10-2020, 10:00 AM
Last Post: perfringo
  pip install -e ., ERROR: Failed building wheel for pyfarmhash mostafaPython 1 6,456 Jun-09-2020, 08:24 PM
Last Post: mcmxl22
  Failed Install NetfilterQueue Alamily 3 10,325 Dec-08-2019, 06:52 AM
Last Post: Rocknpaper
  install Pyserial neeheng 2 2,363 Jul-11-2019, 03:05 PM
Last Post: neeheng
  Simple while loop only works on first attempt jsb83 2 2,113 Jun-20-2019, 08:57 PM
Last Post: jsb83
  pip3 install functools failed kintarowonders 1 16,131 Mar-07-2019, 07:56 PM
Last Post: nilamo
  install DB API failed... netbanker 1 2,822 Apr-06-2018, 05:01 AM
Last Post: Gribouillis
  Problems installing Python - Failed to install MSI package Johnnyq70 1 4,965 Oct-29-2017, 08:50 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020