sudo apt install python3 python3-pip code example
Example 1: install pip ubuntu
sudo apt install python3-pip
Example 2: how to install pip ubuntu python2
sudo add-apt-repository universe
sudo apt install python3-pip
sudo add-apt-repository universe