Study
Python · venv and pip
Isolating project dependencies with venv, installing with pip, and pinning versions in requirements.txt.
- A virtual environment is a folder with its own interpreter link and its own site-packages.
- pip freeze > requirements.txt records exact versions so the project can be rebuilt later.