Install Python 3 Virtual Environments in Ubuntu

sudo apt update
sudo apt upgrade
apt install python3-pip
apt-get install python3-venv

To create Virtual Environment

python3 -m venv venv

To Activate Virtual Environments

source venv/bin/activate

To Exit from Virtual environments

deactivate

Leave a comment

Quote of the week

"People ask me what I do in the winter when there's no baseball. I'll tell you what I do. I stare out the window and wait for spring."

~ Rogers Hornsby