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