unbuntu install pip python2.7 code example Example 1: install pip ubuntu sudo apt update Example 2: how to install pip ubuntu python2 pip2 --version