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