Re: Clarification required django celery,celery and djangoceleryemail compatabilty versions to handle asynchronous tasks

2019-09-21 Thread Andréas Kühne
Hi,

You don't need to install anything but the celery package. Django celery
and other variants are not supported anymore.

So all you need to do is install celery and follow the instructions here:
http://docs.celeryproject.org/en/latest/django/index.html

Best regards,

Andréas


Den lör 21 sep. 2019 kl 19:32 skrev Dilipkumar Noone :

> 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 .
>
> https://stackoverflow.com/questions/50511905/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.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/e148eda2-8e6c-4f7b-bc11-321c987eef34%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCevA3b4_Xaedk0Ax1foboCUy%2B-_37ii14j7bc1cvXmHRA%40mail.gmail.com.


Clarification required django celery,celery and djangoceleryemail compatabilty versions to handle asynchronous tasks

2019-09-21 Thread Dilipkumar Noone
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 . 

https://stackoverflow.com/questions/50511905/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.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e148eda2-8e6c-4f7b-bc11-321c987eef34%40googlegroups.com.