// full error message
WARNING: You are using pip version 19.2.3, however version 20.2 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
// run
python -m pip install --upgrade pip --user --trusted-host files.pythonhosted.org --trusted-host pypi.org
Convert Python to Exe
#Install if needed
pip install pyinstaller
#Generate exe
C:/>pyinstaller -w -F myfile.py
Install GPIO Python library
//Install pip:
sudo apt-get install python3-pip
// Install necessary libraries
//Option1: From text file
python3 -m pip install -r pip-commands.txt
// file contents
setuptools
RPi.GPIO
gpiozero
RPIO
pigpio
//Option2:
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