[beagleboard] RE: Can't import pyserial or serial in python 3.4 2017-03 Debian

2017-06-30 Thread Dr. John Liu
I think I figured this out. I needed to install pip3 aka python3-pip using 
apt-get. I’ve never done that my whole time using python on any OS. It took me 
a while to get the combination of python, pip, a dash, and 3 in the right order 
to get it to install. What’s the preferred programming language on BBB platform?

 

From: zli...@gmail.com [mailto:zli...@gmail.com] 
Sent: Thursday, June 29, 2017 4:28 PM
To: BeagleBoard 
Cc: zli...@gmail.com
Subject: Re: Can't import pyserial or serial in python 3.4 2017-03 Debian

 

Thanks but this command produces an error:

debian@beaglebone:~$ python3 -m pip list
/usr/bin/python3: No module named pip

How do I install a pip3 or pip for python3? I tried a few combinations with 
apt-get and couldn't find what to install. I thought that BBB is probably not 
optimized to run python3 code otherwise these facilities should have been in 
place for the average python person.

Best,

On Thursday, June 29, 2017 at 9:56:06 AM UTC-5, Brett Hamilton wrote:

The python module in pyserial is called serial, so no mystery there.

 

To run a version of pip for your python3.4 you can use "python3 -m pip [pip 
args]".

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/006601d2f156%242fe27f20%248fa77d60%24%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Can't import pyserial or serial in python 3.4 2017-03 Debian

2017-06-29 Thread zliudr
Thanks but this command produces an error:



*debian@beaglebone:~$ python3 -m pip list/usr/bin/python3: No module named 
pip*
How do I install a pip3 or pip for python3? I tried a few combinations with 
apt-get and couldn't find what to install. I thought that BBB is probably 
not optimized to run python3 code otherwise these facilities should have 
been in place for the average python person.

Best,

On Thursday, June 29, 2017 at 9:56:06 AM UTC-5, Brett Hamilton wrote:
>
> The python module in pyserial is called serial, so no mystery there.
>
> To run a version of pip for your python3.4 you can use "python3 -m pip 
> [pip args]".
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/96b2d069-44e8-4c26-9993-e7d78bbbe112%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Can't import pyserial or serial in python 3.4 2017-03 Debian

2017-06-29 Thread Brett Hamilton
The python module in pyserial is called serial, so no mystery there.

To run a version of pip for your python3.4 you can use "python3 -m pip [pip 
args]".

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/43f0580d-4bbf-4347-934b-4811974d617a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.