返回信息流(1)上传tornado安装包,然后再安装,最后出以下问题:
Installed /usr/lib64/python2.6/site-packages/tornado-4.1-py2.6-linux-x86_64.egg
Processing dependencies for tornado==4.1
Searching for backports.ssl-match-hostname
Reading http://pypi.python.org/simple/backports.ssl_match_hostname/
Download error: [Errno 110] Connection timed out -- Some packages may not be found!
Reading http://pypi.python.org/simple/backports.ssl-match-hostname/
Download error: [Errno 110] Connection timed out -- Some packages may not be found!
Couldn't find index page for 'backports.ssl_match_hostname' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
Download error: [Errno 110] Connection timed out -- Some packages may not be found!
No local packages or download links found for backports.ssl-match-hostname
error: Could not find suitable distribution for Requirement.parse('backports.ssl-match-hostname')
(2)pip install tornado 出现这个问题
[root@template tornado-4.1]# pip install tornado
Requirement already satisfied (use --upgrade to upgrade): tornado in /usr/lib64/python2.6/site-packages/tornado-4.1-py2.6-linux-x86_64.egg
Collecting certifi (from tornado)
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x130ef10>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/certifi/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x130eb90>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/certifi/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x130e0d0>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/certifi/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x130e990>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/certifi/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x130eb10>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/certifi/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x130eb90>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/certifi/
Could not find a version that satisfies the requirement certifi (from tornado) (from versions: )
No matching distribution found for certifi (from tornado)
实在不会,请大家帮忙,谢谢了
这是一条镜像帖。来源:北邮人论坛 / python / #12421同步于 2016/2/26
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Python机器人发帖
[问题]安装tornado问题
ccqccq
2016/2/26镜像同步20 回复
订阅后,新回复会通过你的通知中心匿名送达。
9 条回复
就是网络问题啊
能ping通www.baidu.com,却ping不通pypi,不是网络问题是啥?
有个东西叫墙
【 在 ccqccq 的大作中提到: 】
: 不是网络问题啊,www.baidu.com就可以ping的通啊
: 所以很郁闷啊
要把防火墙关了是吗?是不是防火墙会屏蔽某些网站?但是这网站不是很正常的网站吗?那解决办法应该是怎么样的呢?我用的这个主机是联通云公司他们那里买的,然后给我们一个公网IP,对应着14台内网IP,我现在用的是其中一台内网的主机,那防火墙这个是如何解决呢,找云公司人弄,还是我们这自己就可以解决啊,求大神指点指点,非常感谢
【 在 XiaoBiShou 的大作中提到: 】
: 就是网络问题啊
: 能ping通www.baidu.com,却ping不通pypi,不是网络问题是啥?
: 有个东西叫墙
: ...................