this is the code which i am running:
from __future__ import absolute_import from celery import Celery celery1 = Celery(\'celery\',broker=\'amqp://\',backend=\'am
For those who are still encountering this error even after renaming your celery.py file inside your project directory, just delete the celery.pyc file as well.
celery.py
celery.pyc