Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not work on pi2 #2

Closed
rajbadri opened this issue Mar 17, 2015 · 1 comment
Closed

does not work on pi2 #2

rajbadri opened this issue Mar 17, 2015 · 1 comment

Comments

@rajbadri
Copy link

hi
i have been using this on a pi b+ but on a pi2 i get this error

Traceback (most recent call last):
File "capture-positives.py", line 14, in
import hardware
File "/home/pi/pi-facerec-box-master/hardware.py", line 8, in
import RPIO
File "/usr/local/lib/python2.7/dist-packages/RPIO/init.py", line 115, in
import RPIO._GPIO as _GPIO
SystemError: This module can only be run on a Raspberry Pi!

i updated with a a fresh copy of the Adafruit_Python_GPIO module:

still the same error comes

@tdicola
Copy link
Owner

tdicola commented Mar 18, 2015

Oh make sure to grab the latest (02-16-2015) image of Raspbian and start from there, or check out this post to install the latest RPi.GPIO library: https://blog.adafruit.com/2015/02/05/how-to-fix-error-loading-rpi-gpio-python-library-on-your-brand-new-raspberry-pi-2/ The version of that library originally shipped with the Pi 2 unfortunately had an issue and fails with that error. However you can now just pip install an updated version and it should resolve the issue.

@tdicola tdicola closed this as completed Mar 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants