- Virtual environment is the ideal set-up:
python -m venv .
- Activate the venv:
Scripts/activate
- Install all module requirements.
python -m pip install -r requirements.txt
-
If you encounter error:
× Getting requirements to build wheel did not run successfully.
You need to update modules:
python -m pip install --upgrade setuptools wheel
- Add modules in the requirements:
python -m pip freeze > requirements.txt