Skip to content

Instantly share code, notes, and snippets.

@hansgafriedzal
Last active July 13, 2023 05:07
Show Gist options
  • Save hansgafriedzal/90452276e25f9159aa4bddfda2829c5d to your computer and use it in GitHub Desktop.
Save hansgafriedzal/90452276e25f9159aa4bddfda2829c5d to your computer and use it in GitHub Desktop.
upgrade all pip packages
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