- Make sure that Python 3.11 is installed. You can use
pyenvto make it locally like this:
pyenv local 3.11.10- Initialise a new virtual environment
python3 -m venv .venvor, if using pyenv:
pyenv exec python3 -m venv .venvand then source it
source .venv/bin/activate- Install the packages from requirements
pip install -r requirements.txtIf installing any new packages, update the file requirements.txt like this
pip freeze > requirements.txt