2👍
Make sure that you are running celery
with your virtualenv
. The way to check this is with your virtualenv
activated, run the command:
which celery
If you see something like:
/usr/bin/celery
Then you have celery
installed globally, and you need to uninstall it, and make sure it’s only in your virtualenv
.
After uninstalling celery
globally, within the virtualenv
run which celery
again and check.
0👍
For me the issue was that I had kombu.transport.django
in INSTALLED_APPS
. I was initially using Django as the transport agent, but when I upgraded to the latest Celery version, which does not support Django as a transport agent, I still had kombu.transport.django
in INSTALLED_APPS
. When I removed that reference, I no longer got this error when starting celery.
- [Django]-How to return html or json from ViewSets depending on client django rest framework
- [Django]-DjangoCMS: how to auto-add default plugins in placeholders
- [Django]-What happens If an SQL query takes more time and the left age of CONN_MAX_AGE is less?
- [Django]-What exactly is a web application framework?
Source:stackexchange.com