pip domestic source installation

Sometimes we use the download comes with python pip install some kits, it will be reported the following error:

Can not find a satisfactory version, then is our pip may need to be upgraded, so use

python -m pip install --upgrade pip

Look to upgrade pip, - with the name of the library behind the upgrade is to be upgraded

Then continue to try to find or not, will be reported the same mistake, this time taking into account the problem of the network, sometimes my network is unstable, then we use the mirror source to accelerate domestic

pip install 包名-i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com

--trusted-host pypi.douban.com This is to obtain the certification ssl certificate

execution succeed!

But every so manually enter would be more trouble, we advise you to replace the country's image source when changing the system, please refer to the specific configuration

https://blog.csdn.net/u012592062/article/details/51966649

Download a variety of third-party libraries:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#openexr

Guess you like

Origin www.cnblogs.com/lzh501/p/11021833.html