Celery rabbitmq 启动报错

2017-09-06  本文已影响0人  Sunnky

报错:

If you really want to continue then you have to set the C_FORCE_ROOT environment variable (but please think about this before you do).

解决办法: settings.py里面加上这两行

from celery import Celery, platforms
platforms.C_FORCE_ROOT = True
上一篇 下一篇

猜你喜欢

热点阅读