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

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
猜你喜欢
  • 2022-01-11
  • 2021-05-11
相关资源
相似解决方案