- Windows
python -m venv dev_env
dev_env\Scripts\activate
python -m pip install --upgrade pip
pip install -r requirements.txt
- Linux
python -m venv dev_env
source dev_env\bin\activate
python -m pip install --upgrade pip
pip install -r requirements.txt
- Docker
docker compose build
docker compose run --rm app
# save env
pip freeze > requirements_snap.txt