requirements export from python code example Example: pip requirements export python -m pip freeze > requirements.txt