Last active
November 10, 2020 13:05
-
-
Save peterkowalski/1af506ecaa1b2f4066424d4f318897e4 to your computer and use it in GitHub Desktop.
[Upgrade all pip packages] Short snippet which shows different ways of updating all local pip packages
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
pip freeze > req.txt | |
pip install -r req.txt --upgrade |
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
pip install pipupgrade | |
pipupgrade --verbose --latest --yes --pip-path $PIP_PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment