[python]gevent的安装
2016-04-29 01:33
344 查看
gevent 安装
1.安装libevent
# wget http://cloud.github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz
# tar zxf libevent-2.0.19-stable.tar.gz
# cd libevent-2.0.19-stable
# ./configure
# make
# make install
# cp /usr/local/lib/libevent* /usr/lib/
2. 安装greenlet
# easy_install greenlet
3.安装gevent
# wget
http://pypi.python.org/packages/source/g/gevent/gevent-0.13.1.tar.gz#md5=5c1b03d9ce39fee4cfe5ea8befb1d4c4
# tar zxvf gevent-1.0rc1.tar.gz
# cd gevent-1.0rc1
# Python setup.py
install
1.安装libevent
# wget http://cloud.github.com/downloads/libevent/libevent/libevent-2.0.19-stable.tar.gz
# tar zxf libevent-2.0.19-stable.tar.gz
# cd libevent-2.0.19-stable
# ./configure
# make
# make install
# cp /usr/local/lib/libevent* /usr/lib/
2. 安装greenlet
# easy_install greenlet
3.安装gevent
# wget
http://pypi.python.org/packages/source/g/gevent/gevent-0.13.1.tar.gz#md5=5c1b03d9ce39fee4cfe5ea8befb1d4c4
# tar zxvf gevent-1.0rc1.tar.gz
# cd gevent-1.0rc1
# Python setup.py
install
相关文章推荐
- 学习Python遇到的那些坑
- python爬虫:正则表达式
- python字符串,元组,列表,集合的基础总结
- Python time模块学习
- python实现的一个简单web应用
- wxPython安装
- python基础学习04(死循环)
- Python处理海量手机号码
- 简单学习Python time模块
- python中私有函数调用方法解密
- Python松散正则表达式用法分析
- Python过滤列表用法实例分析
- Python中绑定与未绑定的类方法用法分析
- Python中操作符重载用法分析
- Python实现简单字典树的方法
- Python二叉搜索树与双向链表转换实现方法
- Python实现包含min函数的栈
- Python+Opencv识别两张相似图片
- Python批量修改文本文件内容的方法
- python通过thrift方式连接hive