06-17-2016, 01:07 AM
(This post was last modified: 06-17-2016, 07:42 PM by jacobscarter.)
(06-17-2016, 12:57 AM)MarkHaysHarris777 Wrote: hi, make sure you're spellilng it right.
If Python can't find a module its either because you spelled it wrong, or you didn't install it correctly. Make sure you follow the instructions for installing (on git-hub) sudo python setup.py install
... and do that from the unzipped directory. What gnu+linux are you using?
I'm running Lenny Raposos Debian Base on Longsleep Kernel. I followed the instructions and it installs correctly. I'll double check that I'm not getting install errors.
Followed the instructions step by step and still get this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "RPi/GPIO/__init__.py", line 23, in <module>
from RPi._GPIO import *
ImportError: No module named _GPIO
If I install the original RPI.GPIO I can import it but obviously I can't use it because the pin numbers are different.
I have python-dev installed as well.