[Python] configuration package and install pandas Could not find a version that satisfies the requirement pandas (from versions: none) ERROR: No matching distribution found for pandas solution

First, I tried to run cmd window: Exception will appear abnormal (broke a bunch of red). Then consider a rights issue, an administrator uses open cmd, choose one of the following command input:

pip install pandas
python -m pip install pandas

报错:ERROR: Could not find a version that satisfies the requirement pandas (from versions: none);ERROR: No matching distribution found for pandas

 

 Because python2 and python3 I installed the machine, pip version in line with the difficult decision, even using python -m specify the current version is still not at this time, it is necessary to declare clearly what is the use of the interpreter pip:

carried out:

py -3 -m pip install pandas

Specifies python3 represents a pip, empathy -2 python2 parameter indicates the pip.

 

If the download is too slow, you can change the source:

py -3 -m pip install pandas -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

 

 Successfully installed prompt appears indicates a successful installation.

 

Guess you like

Origin www.cnblogs.com/CSGO-416482145/p/12600131.html