pip download error pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.hosted

One of the errors:

Since the download comes from an external network mirror, the download cannot be unsuccessful and no error will be reported.

Solution:

Switch to domestic mirror download
format: pip install xxx -i mirror source

Tsinghua Mirror Source: https://pypi.tuna.tsinghua.edu.cn/simple
Douban: http://pypi.douban.com/simple/
Aliyun: http://mirrors.aliyun.com/pypi/simple/
Shandong University of Technology: http://pypi.sdutlinux.org/
University of Science and Technology of China https://pypi.mirrors.ustc.edu.cn/simple/
Huazhong University of Science and Technology: http://pypi.hustunique.com/

Guess you like

Origin blog.csdn.net/m0_59416550/article/details/127592677