No module named 'RPi code example Example: ModuleNotFoundError: No module named 'RPI' sudo apt-get install python3-dev python3-rpi.gpio