Run the following commands from the project root to create a shared virtual environment for the entire project:
python -m venv .venvActivate the virtual environment on macOS/Linux:
source .venv/bin/activateActivate it on Windows PowerShell:
.\.venv\Scripts\Activate.ps1Then upgrade pip:
python -m pip install --upgrade pipWhen you are finished, leave the virtual environment with:
deactivate