Solving AttributeError: 'module' object has no attribute 'celery' in Django
Here is how to solve Solving AttributeError: 'module' object has no attribute 'celery' in python or when celery not found
Here is how to solve Solving AttributeError: ‘module’ object has no attribute ‘celery’ in python or when celery not found
- Make sure you’ve installed celery
pip install celery
2. CD into your main folder
if you’re using Django and installed celery in a subfolder. Then CD first into that subfolder, before run the celery task. (this was my mistake)
For other error possibilites.
Also read:
https://stackoverflow.com/questions/13555386/starting-celery-attributeerror-module-object-has-no-attribute-celery
Celery documentation