Python update all installed packages approach

Command line:
1.pip not a method statement to update all packages.
2.pip single package update command is as follows:

pip install --upgrade xxxxx

3. Use another plugin to update all packages, plug-in name: pip-review, plug-ins need to be installed in advance:

pip install pip-review

4.pip-review a statement to update all packages methods:

pip-review --local --interactive

IDE mode:
1. Make sure pycharm.
2. In the setting-project interpreter pycharm interface, selected update. As shown below:
Here Insert Picture Description
This interface supports a number of options.
If the update is slow, you can replace the official Python source with Ali source.
Alternatively:
1. In a double-click any interface above item
Here Insert Picture Description
2. Click the red box button, the emergence of FIG:
Here Insert Picture Description
3. Fill Ali source address can https://mirrors.aliyun.com/pypi/simple/. (Preferably leaving only one source)

Published 53 original articles · won praise 47 · Views 460,000 +

Guess you like

Origin blog.csdn.net/ryu2003/article/details/103613728