How to Install Python in Ubuntu?

Open Terminal

Update package list: `sudo apt update`

Install Python 3: `sudo apt install python3`

Install pip: `sudo apt install python3-pip`

Install venv: `sudo apt install python3-venv`

Verify Python version: `python3 –version`

Verify pip version: `pip3 –version`

Suggested for You

Trending Today