When I run pip freeze > requirements.txt
it seems to include all installed packages. This appears to be the documented behavior.
I have, however, done something wrong as this now includes things like Django in projects that have no business with Django.
How do I get requirements for just this project? or in the future how do I install a package with pip
to be used for this project. I think I missed something about a virtualenv
.
question from:
https://stackoverflow.com/questions/32390291/pip-freeze-for-only-project-requirements 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…