[rabbitmq-discuss] Tornado Consumer example problem

Ask Solem ask at rabbitmq.com
Thu Aug 15 17:32:47 BST 2013


On Aug 15, 2013, at 5:28 PM, Priyanki Vashi <vashi.priyanki at gmail.com> wrote:

> Hi ,
> 
> I don't print 'y'. Which means I don't have tornado installed. 
> 
> Could you please guide me on how to install this tornado connector ?
> 
> I thought pika by default would include tornado so did not realized that this could be the case. 
> 

From looking at the source code I can tell that this will happen
if the 'pika.adapters.tornado_connection' module does not import properly.
If that happens it will simply ignore the error and TornadoConnection
will be None.


Try this:


    from pika.adapters.tornado_connection import TornadoConnection


That may give you the error and reason.


More information about the rabbitmq-discuss mailing list