requirement libraries are included in requirements.txt
to install a different python version inside the virtual environment go to python downloads and download the version 3.11.9 in a directory that is comfortable for you, I prefer to install it directly on C:/
DO NOT add this version to PATH
It is important to load the python version in the virtual environment to prevent global malfunctions
open the terminal of your preference, I personally use PowerShell inside VSCode, and then follow the next steps
-
first install virtualenv globally
pip install virtualenv
-
After creating the virtual environment run the next line:
virtualenv --python="/usr/bin/python3.11" "/path/to/new/virtualenv/"
the first variable being the of the required version and the second variable being the path where the virtual environment will be set up ( usually
/venv
) -
finally, just activate the virtual environment with:
venv/Scripts/activate
to install the requirements, make sure that your virtual environment is activated the console tells you by displaying a text like this (venv)
before every line
run:
pip install -r requirements.txt
to install the necessary libraries