[zeromq-dev] ZeroMQ with Python and a basic task

Michael Cuggy mcuggy at gmail.com
Mon Mar 2 06:29:05 CET 2015


I am using RHEL v. 7.x on AWS.  I installed ZeroMQ 4.0.5.  I want to
create a basic program using Python and ZeroMQ that serves as a chat
service for human users using Linux on a LAN.

I have made a significant effort.  I installed the prerequisites for
ZeroMQ and ZeroMQ itself. I installed the Python bindings.

The problem is that I cannot even get a Hello World program to work on
one server.  But I used the Hello World program that was on the
zeromq.org page. (http://zguide.zeromq.org/py:hwclient)

Here is what I get (after running python hello.py):

"Connecting to hello world server
Sending request 0"

It pauses indefinitely after this.  I have to escape out with Ctrl-c.

Can I get step-by-step directions on how to create a messaging program
using Python and Zeromq?  I just want it to work between two Linux
machines to start with.  It is just problem after problem.  If no one
knows of such documentation, can someone please tell me why I cannot
see "Hello World" via the Python program that ZeroMQ.org provides?  To
me it just
pauses after "Sending request 0."



More information about the zeromq-dev mailing list