【Python 错误解决】 ---- pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool

1. 错误代码

pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host=‘files.pythonhosted.org’, port=443): Read timed out.

2. 报错图片

输入图片说明
输入图片说明

3. 报错分析

大概率是网络问题,pip 提供的网速不足以支撑 backgroundremover 安装。

4. 解决办法

pip --default-timeout=1688 install backgroundremover -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com 

5. 解决结果

输入图片说明
输入图片说明

猜你喜欢

转载自blog.csdn.net/m0_38082783/article/details/132319591