Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix 'Install tornado itself to use zmq with the tornado IOLoop.' warning in Python

I've been following this (https://developer.ibm.com/tutorials/se-distributed-apps-zeromq-part2/) tutorial for setting up a ZeroMQ client/server setup which uses CurveZMQ to encrypt messages. The code works, however whenever I run either the client or the server it instructs me to 'Install tornado itself to use zmq with the tornado IOLoop.'

I've found that the warning appears in any file with the following import statement.

from zmq.eventloop.zmqstream import ZMQStream

I've looked in the code for zmq and noticed that it uses "minitornado", which is likely the problem, but I don't know much about tornado or how to use it.

like image 923
Logan Davenport Avatar asked Apr 08 '19 17:04

Logan Davenport


1 Answers

You need to upgrade pyzmq. You can use this command to force your environment to reinstall updated version. (It worked for me!)

pip install --upgrade --force-reinstall pyzmq
like image 59
imanzabet Avatar answered Nov 12 '22 03:11

imanzabet