Celery raises ValueError: not enough values to unpack

后端 未结 5 1192
误落风尘
误落风尘 2021-01-31 00:00

Trying to run simple example with Celery and receiving an exception. RabbitMQ started in a Docker, also tried to start it locally. Celery works on a local Windows host



        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-31 00:43

    For Celery 4.1 on Windows.

    Set an environment variable FORKED_BY_MULTIPROCESSING=1. Then you can simply run celery -A worker.

提交回复
热议问题