Tuesday, 26 August 2025

creating venv

 

You need to first install python3-venv:

sudo apt install python3-venv

Then create a virtual environment (here named vvv, but you can use a name of your liking):

python3 -m venv vvv

Then activate the environment using:

source vvv/bin/activate