I want to start programming with Python on my BeagleBone Black but seem to fail due to the next error
Code: Select all
~# python
Python 2.7.9 (default, Aug 13 2016, 17:56:53)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Adafruit_BBIO.GPIO as GPIO
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named Adafruit_BBIO.GPIO
However I got outputs stating it was already installed. At the end of the guide it is possible to test the installation by running:
Code: Select all
sudo python -c "import Adafruit_BBIO.GPIO as GPIO; print GPIO"
#you should see this or similar:
<module 'Adafruit_BBIO.GPIO' from '/usr/local/lib/python2.7/dist-packages/Adafruit_BBIO/GPIO.so'>
Code: Select all
Requirement already satisfied: Adafruit_BBIO in /usr/local/lib/python2.7/dist-packages/Adafruit_BBIO-1.0.0-py2.7-linux-armv71.egg