On Tue, 27 Jun 2017 22:36:47 -0700 (PDT),
zli...@gmail.com declaimed the following:
>
>If I try to upgrade pyserial, I get error saying that I've already got the
>latest:
>
>
>
>
>*debian@beaglebone:~$ sudo pip install --upgrade pyserial[sudo] password
>for debian: Requirement already up-to-date: pyserial in
>/usr/local/lib/python2.7/dist-packages*
>Again, my goal is to user serial port on BBB preferably on Python 3.4
>instead of 2.7. Right now, importing doesn't work for serial and pyserial
>in 3.4. Thanks
Your default for pip is python2.7; you need to force it to run using
python3.4 in order to have it install the module in the 3.4 library.
Unfortunately, I've not used pip enough to know how to do that; maybe
search for a 3.4 specific pip executable ("which pip" and then change any
2.7 in the path to 3.4)?
--
Wulfraed Dennis Lee Bieber AF6VN
wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/