Error when running on boot on RPi
A Python module to control the GPIO on a Raspberry Pi
Brought to you by:
croston
If i want to run my python script on boot on my raspberry pi 4 that runs rasbian i get this error that he can't find the module.
How do i solve this?
Thanks in advence!
Running at boot
Traceback (most recent call last):
File "/home/pi/Downloads/Program.py", line 1, in <module>
import RPi.GPIO as GPIO
ImportError: No module named RPi.GPIO</module>
A few questions:
what user is your script running as?
is RPi.GPIO installed for that user?
What version of Python are you using?
is RPi.GPIO installed for that version of Python?
How do i know?