小编Hen*_*hab的帖子

pip install 生成警告: 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at ...>

我花了很多时间搜索是否有人已经遇到了同样的问题,但我没有找到任何东西。

一段时间以来,每次我想用 pip 安装软件包时都会收到警告。安装最终成功,但需要更多时间。该警告包含重复 5 次相同的 WARNING :

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x105b71c50>: Failed to establish a new connection: [Errno 61] Connection refused')': /simple/mako/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x105b6c690>: Failed to establish a new connection: [Errno 61] Connection refused')': /simple/mako/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPConnection object at 0x105b6cb90>: Failed to establish a new …
Run Code Online (Sandbox Code Playgroud)

python installation pip

6
推荐指数
2
解决办法
3万
查看次数

标签 统计

installation ×1

pip ×1

python ×1