Python With ZeroMQ Again
Prepare...
Sudo apt-get install libel autoconf automake uuid-dev
Sudo apt-get install python-dev
Download
I suggest you looking for the latest version:
>>> Http://zeromq.org/intro:get-the-software
And Download it at your machine, and then
Use scp tool cp it to your server...
Tar-xvf zeromq -*
And After you Enter:
Cd/zeromq *
./Configure
You can see, there are a file name as 'makefile '...
Make
And you can take a break ....
Make install
Ldconfig
Normally, You see nothing
Install pyzmq ..
A method: pip install pyzmq
B method: download pyzmq package...
>>> Https://github.com/zeromq/pyzmq/downloads/
We use B method ..
Tar-zxvf pyzmq *
And then run:
Python setup. py build_ext -- rpath =/opt/zeromq-dev/lib -- inplace
I got a error:
Zmq/devices/monitoredqueue. c: 8: 22: fatal error: pyconfig. h: No such file or directory
Fix it ..
Apt-get install python-dev
Testing ....
Python-c import zmq
Done...