apt-get install pip 2.7 code example
Example 1: how to install pip in ubuntu
sudo apt install python3-pip
Example 2: how to install pip ubuntu python2
sudo apt update sudo apt install python2
sudo apt install python3-pip
sudo apt update sudo apt install python2