Open jerzyks opened 5 years ago
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?