I installed ZeroMQ by adding the official ZeroMQ repository to my sources, and then installed it through apt-get install libzmq3-dev, and then installed the module using apt-get install python-zmq.
When I open the python interpreter and type import zmq, I get the following error:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "zmq.py", line 2, in <module>
context = zmq.Context()
AttributeError: 'module' object has no attribute 'Context'
I'm not sure what I'm doing wrong. Any help would be greatly appreciated, thanks!
source
share