pip configuration domestic source

pip configuration domestic source

In C:/users/XXXcreation (XXX represents your computer user name) under pipthe folder, and pipcreate a folder to give the pip.inifile in which to write the following:

[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host = pypi.douban.com  

After saving, pip's domestic source configuration is completed, restart the cmdcommand line to use pip to install the library.

Guess you like

Origin blog.csdn.net/qq_39378657/article/details/109641308