2

我正在尝试在此处安装托管在Google Code上的 Gevent 测试版,但我似乎无法正确使用命令(我不断收到无法检测存档格式错误)。从 Google 代码 pip install gevent-1.0b4 的命令是什么?

这是命令和错误:

(venv)zak$ pip install https://code.google.com/p/gevent/gevent-1.0b4.tar.gz Downloading/unpacking https://code.google.com/p/gevent/gevent-1.0b4.tar.gz HTTP error 404 while getting https://code.google.com/p/gevent/gevent-1.0b4.tar.gz Could not install requirement https://code.google.com/p/gevent/gevent-1.0b4.tar.gz because of error HTTP Error 404: Not Found Could not install requirement https://code.google.com/p/gevent/gevent-1.0b4.tar.gz because of HTTP error HTTP Error 404: Not Found for URL https://code.google.com/p/gevent/gevent-1.0b4.tar.gz

4

2 回答 2

2

您的 URL 错误,它返回404(您可以通过在浏览器中访问它来验证)。

pip install http://gevent.googlecode.com/files/gevent-1.0b4.tar.gz

会工作。但正如它在 Google Code 的项目主页上所说,gevent 现在位于github 上

所以是

pip install https://github.com/downloads/SiteSupport/gevent/gevent-1.0b4.tar.gz
于 2012-09-26T20:07:21.797 回答
1

尝试pip install http://gevent.googlecode.com/files/gevent-1.0b4.tar.gz

于 2012-09-26T19:59:03.940 回答