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