Hello there,
I am trying to use the RPi.GPIO to enable a LED on my board. I have added the
RUN pip3 install smbus2 paho-mqtt requests RPi.GPIO
But when I add in my code import RPi.GPIO as GPIO
it returns
sensor File "/usr/lib/python3/dist-packages/RPi/GPIO/__init__.py", line 23, in <module>
sensor from RPi._GPIO import *
sensor ModuleNotFoundError: No module named 'RPi._GPIO'
Have you solved this?