报错:
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
报错:
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