Correction: Debian 9.5

On Wednesday, October 3, 2018 at 11:15:04 PM UTC-4, Chris Bohler wrote:
>
> Just getting started, and I am having an issue with the following 
> configuration:
>
> Beaglebone Black Rev C
> Debian 4.14
> Python 2.7
>
> When attempt to execute Adafruit_BBIO.I2C as I2C:
>    "Adafruit_BBIO.I2C deprecated. Replace with Adafruit_GPIO.I2C"
>
> However, after cloning the Adafruit_Python_GPIO module, and running 
> setup.py install ...
>
> ... I receive the following:
>
> Traceback (most recent call last):
>   File "/var/lib/cloud9/examples/test_accel.py", line 6, in <module>
>     Accel = I2C.Device(0x1c, 2)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Adafruit_GPIO-1.0.3-py2.7.egg/Adafruit_GPIO/I2C.py",
>  
> line 98, in __init__
>     import Adafruit_PureIO.smbus
> ImportError: No module named Adafruit_PureIO.smbus
>
> This from simple python code:
>
> import Adafruit_GPIO.I2C as I2C
> import Adafruit_BBIO.GPIO as GPIO
>
> Accel = I2C.Device(0x1c, 2)
>
>
>
> I have not been able to determine how to install PureIO library. Comments 
> on github suggest it may not have been released yet.
>
> So, if Adafruit_BBIO retired, and Adafruit_PureIO not available, what 
> should I be installing for an i2c library that is compatible with debian 
> 4.14?
>
> Thanks for any help anyone can provide.
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/cc8e2f77-f046-4050-a85d-35a44c5baf33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to