install pip ubuntu pythno 2.7 code example Example 1: installing pip in ubuntu sudo apt install python3-pip Example 2: install pip ubuntu sudo apt update