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. 解决结果