# Make sure you are in the active environment source venv/bin/activate [pip | pip3] freeze > requirements.txt