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.运行时发现还是不能提交任务

win运行celery的,解决ValueError: not enough values to unpack (expected 3, got 0)
所以需要再后面增加一个 -E 用来启动
完整命令:
celery worker -A celery_app_task -l info -P eventlet -E
成功启动如下
win运行celery的,解决ValueError: not enough values to unpack (expected 3, got 0)
测试:
win运行celery的,解决ValueError: not enough values to unpack (expected 3, got 0)
转载链接:https://www.jianshu.com/p/c5f22fda4c5b

win运行celery的,解决ValueError: not enough values to unpack (expected 3, got 0)win运行celery的,解决ValueError: not enough values to unpack (expected 3, got 0) Gavin_Zhong 发布了9 篇原创文章 · 获赞 8 · 访问量 405 私信 关注
上一篇:python3基础篇06(异常处理2-断言)


下一篇:1042:Gone Fishing(贪心算法)