Install GPIO Python library

//Install pip:
sudo apt-get install python3-pip

//Install the library and dependencies:
python3 -m pip install setuptools
python3 -m pip install RPi.GPIO
python3 -m pip install gpiozero
python3 -m pip install RPIO
python3 -m pip install pigpio

Leave a Reply

Your email address will not be published. Required fields are marked *