如何从Google Code点安装? [英] How do I pip install from Google Code?

查看:114
本文介绍了如何从Google Code点安装?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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?

这是命令和错误:

(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

(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

推荐答案

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

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

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

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

就这样

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

这篇关于如何从Google Code点安装?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆