pip 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 after installation
#for pip, and not pip3:
sudo apt-get install python-pip
sudo apt-get remove python3-pip; sudo apt-get install python3-pip
#for pip, and not pip3:
sudo apt-get install python-pip