set pip for python 2.7 code example Example: install pip3 for python 3.7 sudo apt install python3-pip