import error in celery

后端 未结 3 1910
迷失自我
迷失自我 2021-02-07 03:45

this is the code which i am running:

from __future__ import absolute_import
from celery import Celery
celery1 = Celery(\'celery\',broker=\'amqp://\',backend=\'am         


        
3条回答
  •  攒了一身酷
    2021-02-07 04:06

    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.

提交回复
热议问题