Last active
August 29, 2015 14:06
-
-
Save djvine/a10ce8547cff18b58b77 to your computer and use it in GitHub Desktop.
Demonstrate how to use pip to automate package installing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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