pip command not found python 2.7 code example
Example 1: pip3 not found
sudo apt-get remove python3-pip; sudo apt-get install python3-pip
Example 2: pip not found
python -m ensurepip
##possibly the best way to autmatically install pip, if it is not found