31π
If youβre using the PyPi package django-celery-beat it looks like it installs the most recent version of the required package celery rather than installing a compatible version (by the time Iβm posting this, 25th of May 2021 this would be v5.1.0), which seems to have compatibility issues with django-celery-beat version 2.2.0 (the most recent) as well as Windows OS.
I suggest you try
pip uninstall celery
pip install celery==5.0.5
2π
This is fixed with celery ^5.1.1
as you can see here. You just need to update celery now
- [Django]-Django QuerySet order
- [Django]-Django Generic Views using decorator login_required
- [Django]-Passing STATIC_URL to file javascript with django
0π
Yes, i agree with you. For me also it happens, exact same issue
when i was working on installations in a command prompt, i was mentioned as (pip install celery), it was installed recent version (5.1.0) or (pip install -r requirements.txt) mentioned in requirements.txt version
pip uninstall celery
pip install celery==5.0.5
It is working
Also, whenever you are working celery make sure youare changes in your requirements.txt as required version as mentione below after run this command (pip install -r requirements.txt)
#We need to mentioned as celery==5.0.5 in our requirement.tx
pip install -r requirements.txt
#it will also working make sure you mentioned the exact version in your reqiuirements.txt
- [Django]-Factory-boy create a list of SubFactory for a Factory
- [Django]-Django FileField upload is not working for me
- [Django]-How to get an ImageField URL within a template?