apt-get install python3.8-pip code example Example: ubuntu install pip for python 3.8 $ sudo apt update $ sudo apt install python3-pip