You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
root@DietPi:~/RPi.GPIO-Odroid/test# sudo python test.py
Traceback (most recent call last):
File "test.py", line 38, in
import RPi.GPIO as GPIO
ImportError: No module named RPi.GPIO
I screwed up something?
The text was updated successfully, but these errors were encountered:
same for me.
After building and installing according readme i started python 3.7 on my odroid-c2 ( archlinux ).
trying to import RPi.GPIO as GPIO results in:
ModuleNotFoundError: No module named 'RPi._GPIO'
Any hint ?
P.S.:
after gcc these are the installing outputs:
running install
running install_lib
copying build/lib.linux-aarch64-3.7/RPi/_GPIO.cpython-37m-aarch64-linux-gnu.so -> /usr/lib/python3.7/site-packages/RPi
running install_egg_info
Removing /usr/lib/python3.7/site-packages/RPi.GPIO-0.6.3.post1-py3.7.egg-info
Writing /usr/lib/python3.7/site-packages/RPi.GPIO-0.6.3.post1-py3.7.egg-info
got the same error after python setup.py build install, did a pip list and did not see
RPi.GPIO 0.6.3.post1
what fixed it for me was to logout and login again.
Hello, on C2 I received an error as below:
root@DietPi:~/RPi.GPIO-Odroid/test# sudo python test.py
Traceback (most recent call last):
File "test.py", line 38, in
import RPi.GPIO as GPIO
ImportError: No module named RPi.GPIO
I screwed up something?
The text was updated successfully, but these errors were encountered: