Python solve problems that appear: "You are using pip version 9.0.1, however version 19.2.3 is available You should consider upgrading via the 'python -m pip install --upgrade pip' command.."

1. When I started using Pycharm, import numpy libraries, import errors found:

Non-zero exit code (1)

2. So I resolved by newer methods, which know when updates are also an error, the error in the following figure:

 This error is telling me that my version is low, you need to upgrade to a higher version using the command python -m pip install --upgrade pip

3. Enter:

conda install pip

I command prompt error occurs, the content is You do not appear to have the necessary permissions to install packages, that is to say I do not have permission to install software packages and so on. . . I'm uncomfortable. . .

4. Well, now we need to first given permission to perform the next step, follow the prompts to enter the command:

conda create -n my_root --clone="C:\ProgramData\Anaconda3"

 After entering you will find that you need to activate my_root

activate my_root

5. After activation, we will be able to enter a start input into the error of command

conda install pip

Once we upgrade may not be able to update the normal version, so after the command is finished, to execute it several times, if prompted All requested packages already installed., No need to update again, ok.

 

6. In addition, according to information on the Internet said, there are solutions to the official website, just type: python -m pip install -U pip, I have not tried the above method pro-test is valid.

Below is the screenshot I have solved the command input after being given to the official, in fact, like tips, has been updated, 9.0.1-py36hadba87b_3 -> 19.2.3-py36_0

Guess you like

Origin www.cnblogs.com/xiaolan-Lin/p/11619435.html