報(bào)錯(cuò):
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
報(bào)錯(cuò):
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