-
Ensure that the requirement for working with envs are installed
sudo apt install python3-venv -
Work out the python version you want to work with
python --versionorpython3 --versionorwhich python -
Once you have chosen the python version
cdto the directory you want the env to be stored in -
run
/path/to/my/python3 -m venv nameOfEnvof course this may just bepythonnotpython3
- in my case
/usr/bin/python3