python 2 pip install ubnut code example Example 1: how to install pip ubuntu python2 sudo python2 get-pip.py Example 2: how to install pip ubuntu python2 pip2 --version