[CentOS] how to install pyserial on centos 6?

Michael Hennebry

hennebry at web.cs.ndsu.nodak.edu
Mon Nov 6 20:44:17 UTC 2017


I tried
yum import pyserial
yum provides '*serial*'
gave me
distribution-gpg-keys-copr-1.15-1.el6.noarch : GPG keys for Copr projects
Repo        : epel
Matched from:
Filename    : /usr/share/distribution-gpg-keys/copr/copr-ifas-pyserial.gpg



python2-ivi-0.14.9-3.el6.noarch : %{sum}
Repo        : epel
Matched from:
Filename    : /usr/lib/python2.6/site-packages/ivi/interface/pyserial.pyo
Filename    : /usr/lib/python2.6/site-packages/ivi/interface/pyserial.pyc
Filename    : /usr/lib/python2.6/site-packages/ivi/interface/pyserial.py

yum install python2-ivi-0.14.9-3.el6.noarch
"worked", but didn't help:
[hennebry at localhost ~]$ python
Python 2.6.6 (r266:84292, Aug 18 2016, 15:13:37)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyserial
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named pyserial
>>> import serial
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named serial
>>>

What happened?
How do I get pyerial?

-- 
Michael   hennebry at web.cs.ndsu.NoDak.edu
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
                                                              --  someeecards



More information about the CentOS mailing list