`

Gevent

 
阅读更多

1、安装

Gevent依赖libevent和greenlet,需要分别安装。

01 #libevent 1.4.x
02 sudo apt-get install libevent-dev
03  
04 #python_dev
05 sudo apt-get install python-dev
06  
07 #easy_install
09 sudo python ./ez_setup.py
10  
11 #greenlet
12 wget http://pypi.python.org/packages/source/g/greenlet/greenlet-0.3.1.tar.gz#md5=8d75d7f3f659e915e286e1b0fa0e1c4d
13 tar -xzvf greenlet-0.3.1.tar.gz
14 cd greenlet-0.3.1/
15 sudo python setup.py install
16  
17 #gevent
18 wget http://pypi.python.org/packages/source/g/gevent/gevent-0.13.6.tar.gz#md5=7c836ce2315d44ba0af6134efbcd38c9
19 tar -xzvf gevent-0.13.6.tar.gz
20 cd gevent-0.13.6/
21 sudo python setup.py install

至此,安装完毕。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics