Using python virtual environment
Windows Powershell/VSCode
python -m venv {name of the virtual environment}
.\{name of the virtual environment}\Scripts\activate
Linux Bash/VSCode
sudo apt install python3-venv
python3 -m venv {name of venv}
source ./venv/bin/activate