Pip discovery

I just discovered this awesome command:


pip freeze > requirements.txt


Yes, that’s right.  pip freeze dumps out all the packages you have installed (with their version!!).  So if you have a virtualenv perfectly set up and you want to make a requirements file for your projects, just run that and you’re done.  No more forgotten pip packages, no more mismatched versions on new deployments.





Similar Articles

The World's Most Powerful Mobile Data Collection Platform

Start a FREE 30-day CommCare trial today. No credit card required.

Get Started

Learn More

Get the latest news delivered
straight to your inbox