Skip to content

Instantly share code, notes, and snippets.

@djvine
Last active August 29, 2015 14:06
Show Gist options
  • Save djvine/a10ce8547cff18b58b77 to your computer and use it in GitHub Desktop.
Save djvine/a10ce8547cff18b58b77 to your computer and use it in GitHub Desktop.
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