[Answered ]-Module has no attribute "celery" when using Django 1.7.1, Python 3.4 and Celery 3.1

0👍

Turns out this was an installation problem. I just reset my virtualenv, re-installed celery and viola. Sorry to have wasted everyone’s time.

2👍

Your config is fine. But when start the worker, you need to specify the app name or the file which has the celery object. But you are just specifying the my_project which doesn’t have the celery object.

celery worker -A my_project.celery -l debug 

should solve the problem.

Also rename your celery.py to celery_conf.py or something else.

Leave a comment