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