Skip to content Skip to sidebar Skip to footer

Attributeerror: 'module' Object Has No Attribute 'asyncoreconnection'

I am using scrapy-rabbitmq to fetch the url from RabbitMQ into my scrapy.I am using the following in my settings.py file RABBITMQ_CONNECTION_PARAMETERS = {'credentials': pika.Plai

Solution 1:

I had to comment this line on its source code (connection.py).

    connection = {
    'blocking': pika.BlockingConnection,
    #'asyncore': pika.AsyncoreConnection,
    #'libev': pika.LibevConnection,
    'select': pika.SelectConnection,
    #'tornado': pika.TornadoConnection,
    #'twisted': pika.TwistedConnection
}[connection_type](pika.ConnectionParameters(**connection_parameters))

Post a Comment for "Attributeerror: 'module' Object Has No Attribute 'asyncoreconnection'"