pip freeze from pipenv code example Example: pipenv freeze requirements.txt pipenv lock -r > requirements.txt