Skip to content
Weston Forbes edited this page Jun 3, 2025 · 8 revisions

Setup

To reproduce the virtual environment on a new system, run:

python -m venv venv
venv\Scripts\Activate
pip install -r requirements_maintained.txt

Maintaining Package list

Occasionally, check which packages the virtual environment is using with:

pip freeze > requirements_frozen.txt

Compare results to requirements_maintained.txt.

Add required packages by hand to requirements_maintained.txt and uninstall no-longer-needed packages seen in requirements_frozen.txt.

Continue until files match.

Clone this wiki locally