YF-GoogleCodeBackups / greatagent

Automatically exported from code.google.com/p/greatagent
0 stars 0 forks source link

python-gevent安装失败 #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
导致出现该问题的步骤?
1. python proxy.py
output:WARNING: python-gevent not installed. `curl -k -L 
http://git.io/I9B7RQ|sh`
2. curl -k -L http://git.io/I9B7RQ|sh

出错的输出是什么?你看到了什么呢?
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
100   173  100   173    0     0     64      0  0:00:02  0:00:02 --:--:--   484
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  221k  100  221k    0     0  59748      0  0:00:03  0:00:03 --:--:-- 65786
tar: Unrecognized archive format
tar: Error exit delayed from previous errors.

您使用的是什么版本的产品吗?什么样的操作系统?
OSX 10.8.4 已安装了xcode

Original issue reported on code.google.com by NosaiFor...@gmail.com on 4 Sep 2013 at 2:33

GoogleCodeExporter commented 8 years ago
使用以下命令安装greenlet(0.4.0)

curl -L -O https://github.com/python-greenlet/greenlet/archive/0.4.0.tar.gz && 
tar xvzpf 0.4.0.tar.gz && cd greenlet-0.4.0 && python setup.py install
安装gevent(1.0rc2),系统源中gevent版本过低,会出现错误

curl -L -O https://github.com/downloads/surfly/gevent/gevent-1.0rc2.tar.gz && 
tar xvzpf gevent-1.0rc2.tar.gz && cd gevent-1.0rc2 && python setup.py install

Original comment by wwqgtxx on 5 Sep 2013 at 5:49