update pip to pip3 code example Example 1: python update pip3 pip3 install --upgrade pip Example 2: install pip3 for python 3.7 sudo apt install python3-pip