Ubuntu 14.04 64*װgevent_zeromq-0.2.5

ڣ2021-11-29 00:27:30

*оgeventЭ̸߲Ϊԣgevent tutorialиgevent_zeromqйصӣʮָˣһ飬ְװgevent_zeromqdz鷳


һں飬ɹؼ¼£


1.װ(ܲDZ)


sudo apt-get install g++ build-essential gawk zlib1g-dev uuid-dev
sudo apt-get install python2.7-dev libzmq-dev


2.gevent_zeromq صַ
https://pypi.python.org/simple/gevent-zeromq/
ѡһ汾ѡµİ汾0.2.5 ȻcdĿ¼ĶREADME.rstϵ




ؼһҪȷ汾pyzmqģ顣 Ϊzmqgevent_zeromqļ ֻʹzmqgeventˡ
ʹװpyzmqһȽϹϵİ汾ǰµİ汾Ѿ14.7.0ˡ



easy_install "pyzmq==2.2.0"





python setup.py install


3.Ƿװɹ
pythonִ
import gevent
from gevent_zeromq import zmq




ûб˵ɹ

ο
[1].http://www.9miao.com/thread-58969-1-1.html


[2].https://github.com/rockywu/ubunut12.04-zeromq-pyzmq-php-zmq-install
[3].http://www.tuicool.com/articles/RRBBV3
[4].http://hao.jobbole.com/pyzmq/

Ƽ