[zeromq-dev] ZeroMQ with Python and a basic task
Michael Cuggy
mcuggy at gmail.com
Sun Mar 8 00:28:10 CET 2015
I am trying to run the Hello World python program taken from this link:
http://zguide.zeromq.org/py:hwclient
I cannot get it to run. I get an error about the import zeromq line.
I lifted the code verbatim. Maybe I installed ZeroMQ incorrectly?
I am using Python 2.6.6 and RedHat Linux version 7. I installed ZeroMQ
by I running these commands as root:
tar -xvf zeromq-4.0.5.tar.gz
cd zeromq-4.0.5
./configure
make
make install
ldconfig
yum install python-devel
easy_install pyzmq
When I try to run Hello.py I get this error:
Traceback (most recent call last): File "Hello.py", line 7, in import
zmq ImportError: No module named zmq
How do I get the module zmq installed? pip install pyzmq indicates
that the requirement has already been satisfied. python -v foo.py
didn't show me anything meaningful.
More information about the zeromq-dev
mailing list