install pip2 for python ubuntu code example
Example 1: how to install pip ubuntu python2
sudo add-apt-repository universe
Example 2: how to install pip ubuntu python2
pip2 --version
sudo add-apt-repository universe
pip2 --version