python -m pip install --upgrade pip solve the problem of unsuccessful upgrade

Use pip Tip Update:
You are using pip version 18.1, however version 20.0.2 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command.

Enter python -m pip install --upgrade pipa problem
Here Insert Picture Description
This is because the server connection timeout, use the code below to solve

python -m pip install --upgrade pip -i https://pypi.douban.com/simple

Here Insert Picture Description
Here Insert Picture Descriptionproblem solved

Install additional packages can also use this method to speed up the download speed

Released eight original articles · won praise 28 · views 5712

Guess you like

Origin blog.csdn.net/weixin_43788290/article/details/104635642