【发布时间】:2015-02-12 09:11:04
【问题描述】:
尝试通过下载get-pip.py并通过python get-pip.py运行在Windows 7中的python 2.7.6中安装pip。但出现超时错误
Collecting pip
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connec
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x034F5DB0>, 'Connection to pypi.python.
org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connec
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x034F5E50>, 'Connection to pypi.python.
org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connec
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x034F5F30>, 'Connection to pypi.python.
org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connec
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x034F5FD0>, 'Connection to pypi.python.
org timed out. (connect timeout=15)')': /simple/pip/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connec
tion broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.conne
ction.VerifiedHTTPSConnection object at 0x034F5970>, 'Connection to pypi.python.
org timed out. (connect timeout=15)')': /simple/pip/
【问题讨论】:
-
您的 Internet 连接出现问题,无法访问 pypi.python.org
标签: python-2.7 pip