win运行celery的,解决ValueError: not enough values to unpack (expected 3, got 0)
作者:互联网
1.在window上celery4.0以上不支持windows,如果要支持需要手动安卓eventlet
celery worker -A celery_app_task -l info -P eventlet
2.运行时发现还是不能提交任务
所以需要再后面增加一个 -E 用来启动
完整命令:
celery worker -A celery_app_task -l info -P eventlet -E
成功启动如下
测试:
转载链接:https://www.jianshu.com/p/c5f22fda4c5b
![](https://g.csdnimg.cn/static/user-reg-year/1x/1.png)
标签:info,task,eventlet,win,app,worker,celery,expected 来源: https://blog.csdn.net/weixin_44567493/article/details/104108883