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