I am new to Django.
I am developing one django application which needs following packages to handle asynchronous tasks in the back ground.
1.djangocelery 2.djangocelery email.
App definitions in My settings.py file:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'crispy_forms',
'djcelery',
'gspapp',
'djcelery_email',
#'django_celery_results',
]
But when i install these packages in my virtual environment, I encountered with the below errors:
1.I have django-celery - 3.3.1 and celery 4.3.0 initially. 2.when i execute the celery worker command :celery -A gspaat worker --loglevel=info
i got the below error:
ModuleNotFoundError: No module named 'kombu.asynchronous'
As per the message posted in below link,i uninstalled celery version and installed latest celery version 4.3.0 . Cannot start Celery Worker (Kombu.asynchronous.timer)
But unfortunately i am facing with below error.
ERROR: django-celery 3.3.1 has requirement celery<4.0,>=3.1.15, but you'll have celery 4.3.0 which is incompatible. Due to above error, i installed celery version :3.1.25 using pip install celery==3.1.25 but i got the below error
ERROR: django-celery-email 2.0.2 has requirement celery>=4.0, but you'll have celery 3.1.25 which is incompatible.
So, please share the compatible version of djcelery , celery and djcelery_email.
Regards, N.Dilip Kumar.