//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