[zeromq-dev] ZeroMQ with Python and a basic task
MinRK
benjaminrk at gmail.com
Sun Mar 8 01:00:51 CET 2015
Can you provide the complete output of installing pyzmq? And what happens
when you do `python -c import zmq`?
-MinRK
On Sat, Mar 7, 2015 at 3:28 PM, Michael Cuggy <mcuggy at gmail.com> wrote:
> 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.
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150307/ea13ad48/attachment.htm>
More information about the zeromq-dev
mailing list