Created
April 27, 2020 00:49
-
-
Save StuffbyYuki/e24f609d3caf45c1dbec53c604ceaad3 to your computer and use it in GitHub Desktop.
Python:Git - Command to write & read from a requirements.txt file
This file contains hidden or 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
#Do when your virtual environment is active | |
#source env/bin/activate | |
#pip install YOURPACKAGE | |
pip freeze > requirements.txt #Write installed pip packages to a text tile | |
pip install -r requirement.txt #install all packages in requirement.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment