Create a requirements.txt file of packages only in the current virtualenv
suggest changepip
assists in creating requirements.txt
files by providing the freeze
option.
pip freeze --local > requirements.txt
The --local
parameter will only output a list of packages and versions that are installed locally to a virtualenv. Global packages will not be listed.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents