update all packages using pip on windows

Solutions on MaxInterview for update all packages using pip on windows by the best coders in the world

showing results for - "update all packages using pip on windows"
Annette
28 Aug 2019
1# Open your command shell and enter the below command. This will upgrade all packages system-wide to the latest or newer version available in the Python Package Index (PyPI)
2pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
3
4#outputs the list of installed packages
5pip freeze > requirements.txt
6
7#updates all packages
8pip install -r requirements.txt --upgrade
9