سؤال

I'm trying to install the Gevent beta which is hosted on Google Code here but I can't seem to get the command right (I keep getting a cannot detect archive format error). What is the command to pip install gevent-1.0b4 from Google Code?

Here is the command and error:

(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

هل كانت مفيدة؟

المحلول

Your URL is wrong, it returns a 404 (which you can verify by visiting it in your browser).

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

would work. But as it says on the project home page on Google Code, gevent now lives on github.

So it's

pip install https://github.com/downloads/SiteSupport/gevent/gevent-1.0b4.tar.gz

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top