I don't think that the Adafruit_BBIO library supports Python3 right now.  I 
know for certain that stock python-smbus does not support Python3, though 
some google searching on the topic will find you some tutorials on how to 
hack it to work.

Here's 
one: http://procrastinative.ninja/2014/07/21/smbus-for-python34-on-raspberry/

On Tuesday, January 27, 2015 at 9:01:21 PM UTC-5, COG wrote:
>
>
> Dear Sir/Madam:
>
> *History:*
> I manage to load on *Python3* on my BBB *Rev. 'C' (running Debian)* with:
> #  apt-get update
> # apt-get install python3
>
> I then had to install pip via 'get-pip.py' (
> https://pip.pypa.io/en/latest/installing.html)
>
> *Problem:*
> But now when I want to install the '*Adafruit_BBIO*' module via these 
> steps:
> # apt-get install python-smbus 
> *<== Went Ok*
> # *pip3* install Adafruit_BBIO
> *I get the following error:*
> *{*
>
>
>
>
>
>
>
>
>
>
> *Collecting Adafruit-BBIO  Downloading Adafruit_BBIO-0.0.20.tar.gz    
> Traceback (most recent call last):      File "<string>", line 20, in 
> <module    Complete output from command python setup.py egg_info:    
> Traceback (most recent call last):      File "<string>", line 20, in 
> <module    ----------------------------------------    Command "python 
> setup.py egg_info" failed with error code 1 in 
> /tmp/pip-build-n40i9h/Adafruit-BBIO*
> *}*
>
>
>
> *Help:What must I do so that I can achieve my goal (Python3 using the 
> GPIO)?*
>
> Regards
> COG
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to