Reason for error: connection of foreign mirror source
Solution: change to domestic mirror source download
Solution: Configure to use a mirror source to download by default
Step1: Create a new pip folder in the path C: \ Users \ xxx, and create a new pip.ini file under this folder. Open the file, copy the following content to the pip.ini file, and save
[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=pypi.tuna.tsinghua.edu.cn
Step2: Install third-party libraries with pip
Instruction: pip install xxx (library name)