Django, ImportError: cannot import name Celery, possible circular import?

前端 未结 10 528
情书的邮戳
情书的邮戳 2021-01-31 14:43

I went through this example here:

http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html

All my tasks are in files called tasks.py.

10条回答
  •  孤城傲影
    2021-01-31 15:08

    I got the same error.

    Seems that from __future__ import absolute_import DOES NOT work for Python 2.6.1, still not raising an error.

    Upgraded to Python 2.7.5 and it just worked.

提交回复
热议问题