RedHat无法使用get_pip.py

时间:2017-01-28 21:46:01

标签: python pip redhat

我正在尝试使用redhat 7上的get_pip.py安装pip

结果如下

sudo python get-pip.py --verbose
Collecting pip
  1 location(s) to search for versions of pip:
  * https://pypi.python.org/simple/pip/
  Getting page https://pypi.python.org/simple/pip/
  Looking up "https://pypi.python.org/simple/pip/" in the cache
  No cache entry available
  Starting new HTTPS connection (1): pypi.python.org
  Incremented Retry for (url='/simple/pip/'): Retry(total=4, connect=None, read=None, redirect=None)
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x1e48bd0>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /simple/pip/
  Starting new HTTPS connection (2): pypi.python.org
  Incremented Retry for (url='/simple/pip/'): Retry(total=3, connect=None, read=None, redirect=None)
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x1e48750>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /simple/pip/
  Starting new HTTPS connection (3): pypi.python.org
  Incremented Retry for (url='/simple/pip/'): Retry(total=2, connect=None, read=None, redirect=None)
  Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x1e48250>: Failed to establish a new connection: [Errno 110] Connection timed out',)': /simple/pip/

任何想法可能是什么问题。

0 个答案:

没有答案