OneBite.Dev - Coding blog in a bite size

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

  1. 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

django celery python