Buy Me A Coffee

Hi !

Here is a small script that I always go back to search in my notes. I found this on internet sometime ago, and is the easiest way to update all packages in a specific environment using pip and PowerShell:

pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}

Depending on your environment, it may take some time. The output is cool, your packages are updated !

Happy coding!

Greetings

El Bruno

More posts in my blog ElBruno.com.

More info in https://beacons.ai/elbruno


Leave a comment

Discover more from El Bruno

Subscribe now to keep reading and get access to the full archive.

Continue reading