ubuntu 20.04 install python 2 pip code example Example 1: how to install pip in ubuntu sudo apt install python3-pip Example 2: how to install pip ubuntu python2 sudo python2 get-pip.py