Answers for "No module named 'celery.backends.amqp' or KeyError: 'backend'"

0

No module named 'celery.backends.amqp' or KeyError: 'backend'

from celery import Celery

app = Celery('proj',
             broker='amqp://',
             backend='rpc://',
             include=['proj.tasks'])

# Optional configuration, see the application user guide.
app.conf.update(
    result_expires=3600,
)

if __name__ == '__main__':
    app.start()
Posted by: Guest on July-07-2021

Code answers related to "No module named 'celery.backends.amqp' or KeyError: 'backend'"

Python Answers by Framework

Browse Popular Code Answers by Language