Skip to content

Instantly share code, notes, and snippets.

@djvine
Last active August 29, 2015 14:06
Demonstrate how to use pip to automate package installing
#I find the best way to use this is to create a fresh virtual environment and go from there.
# Record all the packages in the current environment to a txt file
pip freeze > requirements.txt
# Install all packages in txt file to current environment
pip install -r requirements.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment