皮普怎么了?

2024-04-26 23:34:55 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图在anaconda中安装一个库,但是我遇到了下一个错误(对于我尝试的任何库:

Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000051CECC0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/worldcloud/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000051CEDA0>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/worldcloud/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x00000000051CEA90>, 'Connection to pypi.org timed out. (connect timeout=15)')': /simple/worldcloud/

我想知道是否有解决这个问题的方法,或者在其他情况下,我是否可以下载并以其他方式收费。在

我使用的是Windows10和Python2.7


Tags: pipnonereadbystatusconnectconnectionredirect
2条回答

欢迎来到Stackoverflow。在

您是否可能有一个旧版本的pip不知道使用TLS(https)通信?找出您正在使用的版本

pip  version

您需要使用pip9.0.3或更高版本。如果你没有,你可以用

^{pr2}$

或者,您可能已经设置了pip无法使用或未使用的代理。在

在电脑的命令行中,输入ping pypi.org,然后查看会发生什么。如果没有响应,则表示存在外部网络问题。试着给我一次权限。在

相关问题 更多 >