# Install pip for 2.7 and then python 2.7 itself sudo apt install python-pip sudo apt install python2.7 # Install pip for 3.6 sudo apt install python3-pip # Install currently supported by Ubuntu python 3.x version. sudo apt install python3