Ubuntu10下安装pyzmq
<DIV>一、安装Ubuntu 11.04 server<BR> 安装后,执行apt-get upgrade</DIV><DIV>二、zeromq的安装<BR>1、在<A href="http://www.zeromq.org/area:download" target=_blank>http://www.zeromq.org/area:download</A>页面下载最新的zeromq 2.1.7.<BR> </DIV>
<DIV> wget <A href="http://download.zeromq.org/zeromq-2.1.7.tar.gz" target=_blank>http://download.zeromq.org/zeromq-2.1.7.tar.gz</A><BR>2、安装相关软件<BR> $ sudo apt-get install libtool autoconf automake<BR> $ sudo apt-get install uuid-dev g++<BR> $ sudo apt-get install python-dev<BR>3、编译安装zmq<BR> $ ./configure<BR> $ make<BR> $ sudo make install<BR> $ sudo ldconfig</DIV>
<DIV>4、pyzmq<BR> 在<A href="http://www.zeromq.org/bindings:python" target=_blank>http://www.zeromq.org/bindings:python</A>下载。<BR> $ python setup.py build_ext --inplace<BR> $ python setup.py test<BR> $ sudo python setup.py install</DIV>
<DIV>5、测试<BR> $ python -c "import zmq"</DIV>
<DIV>over</DIV>
<DIV> </DIV>
页:
[1]