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