pip configuration domestic source
In C:/users/XXX
creation (XXX represents your computer user name) under pip
the folder, and pip
create a folder to give the pip.ini
file 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 cmd
command line to use pip to install the library.