The PIP in Python is an official source, and it is very slow to install the PIP at home, so it is best to replace it with the source address in China.
Domestic PIP Mirror Source
Tsinghua: Https://pypi.tuna.tsinghua.edu.cn/simple
watercress: http://pypi.douban.com/simple/
Ali: http:// mirrors.aliyun.com/pypi/simple/
1, manually specify the source of the third Party library
Pip Install xx-i http://pypi.douban.com/simple //Use watercress source installation library, where XX Replace with the library you need to install
2. Global designated source installation third Party library
Windows creates a new Pip folder in the%appdata% directory, enters the Pip folder, creates a new Pip.ini, and adds the following content.
Timeout = 6000
index-url = http://pypi.douban.com/simple
trusted-host = pypi.douban.com
3, Pycharm designated third party source
Click the File--setting--project interpeter interface, click on the right side of the ➕ button pop-up package management interface and then select the lower Manage Repositories button, add the above mirror can