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