pip引发错误重试



我无法使用pip,每次尝试都会收到下面的错误,有人能告诉我发生了什么吗?谢谢。

Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fca90faf950>, 'Connection to 172.82.151.137 timed out. (connect timeout=15)')': /simple/pip/

这个问题是由我设置为环境变量的代理引起的,如下面的

export http_proxy='172.82.151.137:8800'
export https_proxy='172.82.151.137:8800'

删除它解决了这个问题。

相关内容

最新更新