I've installed kombu. but I get the error defined in the title. my task is to send a message to a rabbitmq queue, amqp 1.0
below is the code
from kombu import Connection
with Connection('amqp url') as conn:
tasks_queue = conn.SimpleQueue('queuename')
message ={json_message}
control_queue.put(message)
control_queue.close()