Update Ubuntu
sudo apt update
sudo apt upgrade
Import Python PPA
sudo add-apt-repository ppa:deadsnakes/ppa -y
sudo apt update
Install Python 3.11
sudo apt install python3.11
python3.11 --version
Install PIP with Python 3.11
Option 1
sudo apt install python3-pip
Option 2
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python3 -m pip install --upgrade pip
pip --version
Top comments (0)