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