Solve the problem of prompting version update when python uses pip to install

 

 

Today, use python's pip to install the environment package,

Then the following prompt appeared:

The version of pip needs to be updated (the current version is 8.1.2, and needs to be updated to 10.0.1)

How to update it?

Use the command (as shown below):

python -m pip install --upgrade pip

Then you can see this:

The last line indicates that pip-10.0.1 was successfully installed 

 

After that, there is no problem with pip installation and other operations.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326053275&siteId=291194637