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

  

posted @ 2021-03-30 16:45  睁yan-ii  阅读(220)  评论(0编辑  收藏  举报