#179 Upgrade all packages in Python using PowerShell

Create update_python.bat file

powershell -ExecutionPolicy ByPass -noexit "& ""D:\scripts\update_python.ps1"""

Create update_python.ps1 file

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

Discover more from Tips and Hints for Aerospace Engineers

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

Continue reading