Version Reporting
ZeroMQ does come in several versions and quite often,if you hit a problem,it'll
be something that's been fixed in a later version.So it's a useful trick to know
exactly what version of ZeroMQ you're actually linking with.
Here is a tiny program that does that:
version: ZeroMQ version reporting in Python
#!/usr/bin/python
#Report 0MQ version
#
#Author: Lev Givon <lev(at)columbia(dot)edu>
import zmq
print("Current libzmq version is %s" % zmq.zmq_version())
print("Current pyzmq version is %s" % zmq.__version__)
Ref:http://zguide.zeromq.org/page:all