Created
December 17, 2019 07:01
-
-
Save silversonicaxel/587c3d4431f9786ca6e38b49a715b1ad to your computer and use it in GitHub Desktop.
PIP #python #pip
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
// reads the versions of all installed packages in a local virtual environment | |
// then produces a text file with the package version for each python package specified | |
pip freeze > requirements.txt | |
// install the packages read from a requirements textfile | |
pip install - r requirements.txt | |
// install a specific package | |
pip install [package] | |
// list old packages installed according to the requirements textfile | |
pip list --outdated |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment