RabbitMQ

RabbitMQ


tags
Service

Summary fc #

https://www.rabbitmq.com/ RabbitMQ is the most widely deployed message broker.

Debugging #

Librabbitmq 2.0.0 with Python 3 gives TypeError: can’t pickle memoryview objects · Issue #4693 · celery/celery · GitHub #

Solution given #

For anyone stumbling across this issue, changing my broker url from amqp:// to pyamqp:// solved the issue for me. I guess that forced usage of py-amqp over librabbitmq?

What worked for me? #

pip uninstall librabbitmq
pip install pyamqp

and then replace amqp with pyamqp

#app = Celery('tasks', broker='amqp://guest@localhost//')
app = Celery('tasks', broker='pyamqp://guest@localhost//')


Links to this note

Previous Next