Running a worker with superuser privileges when the worker accepts messages serialized with pickle i

启动出错

解决办法:
from celery import Celery, platforms
platforms.C_FORCE_ROOT = True 
app = Celery()

  加入这个选项即可:

platforms.C_FORCE_ROOT = True

  

原文地址:https://www.cnblogs.com/zhangshijiezsj/p/14597580.html