Virtual Environments
Create a venv
python -m venv venv
Activate venv
source venv/bin/activate
Project Dependencies
Install packages from a file
pip install -r requirements.txt
Update requirements file
python -m pip freeze > requirements.txt
Create a venv
python -m venv venv
Activate venv
source venv/bin/activate
Install packages from a file
pip install -r requirements.txt
Update requirements file
python -m pip freeze > requirements.txt