Last active
July 13, 2023 05:07
-
-
Save hansgafriedzal/90452276e25f9159aa4bddfda2829c5d to your computer and use it in GitHub Desktop.
upgrade all 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
function Upgrade-PipPackages | |
{ | |
pip freeze > requirements.txt | |
(cat .\requirements.txt) -replace '==', '>=' >> requirements.txt | |
pip install -r requirements.txt --upgrade | |
del requirements.txt | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment