export current pip package to requirements file code example Example: pip requirements export python -m pip freeze > requirements.txt