下载 Cherrypy 3.1.2 失败

Failed to download Cherrypy 3.1.2

我正在尝试将 cherrypy 3.1.2 下载到安装了 python 2.6 的 windows 笔记本电脑上,但是当我尝试 easy_install cherrypy==3.1.2 并获得此

Searching for cherrypy==3.1.2
Reading https://pypi.python.org/simple/cherrypy/
Reading http://download.cherrypy.org/cherrypy/2.2.1/
Reading http://download.cherrypy.org/cherrypy/2.3.0/
Reading http://download.cherrypy.org/cherrypy/3.0.0/
Reading http://download.cherrypy.org/cherrypy/3.0.1/
Reading http://download.cherrypy.org/cherrypy/3.0.2/
Reading http://download.cherrypy.org/cherrypy/3.0.3/
Reading http://download.cherrypy.org/cherrypy/3.0.4/
Reading http://download.cherrypy.org/cherrypy/3.0RC1/
Reading http://download.cherrypy.org/cherrypy/3.1.0/
Reading http://download.cherrypy.org/cherrypy/3.1.0beta3/
Reading http://download.cherrypy.org/cherrypy/3.1.0rc1/
Reading http://download.cherrypy.org/cherrypy/3.1.1/
Reading http://download.cherrypy.org/cherrypy/3.1.2/
Reading http://download.cherrypy.org/cherrypy/3.1beta/
Reading http://download.cherrypy.org/cherrypy/3.2.0/
Reading http://download.cherrypy.org/cherrypy/3.2.2/
Reading http://download.cherrypy.org/cherrypy/3.2.3/
Reading http://sourceforge.net/project/showfiles.php?group_id=56099
Reading http://trac.cherrypy.org/cgi-bin/trac.cgi/wiki/CherryPyDownload
Reading http://www.cherrypy.org
Download error on http://www.cherrypy.org: [Errno 11004] getaddrinfo failed -- S
ome packages may not be found!
No local packages or download links found for cherrypy==3.1.2
error: Could not find suitable distribution for Requirement.parse('cherrypy==3.1
.2')

请帮忙

这是一个known issue。 :(

您可以在错误上添加评论,同时从 internet archive.

下载 tar/zip/installer

对于下一位读者,pip install cherrypy==3.1.2 现在可以使用(也适用于某些 2.x 版本)。 Sylvain 已经关闭了这个问题。

此外,只要没有计划放弃 Python 2.6 对 CherryPy 3.x 的支持,并且如果您不依赖于旧版本的某些非常具体的行为,那就更好了使用最新的可用版本。