How to run celery on windows?

前端 未结 10 1003
逝去的感伤
逝去的感伤 2020-11-27 16:13

How to run celery worker on Windows without creating Windows Service? Is there any analogy to $ celery -A your_application worker?

10条回答
  •  离开以前
    2020-11-27 16:46

    yes:

    celery -A your_application -l info
    

    also note Celery have dropped support for Windows(since v4), so best to

    pip install celery==3.1.25
    

    3.1.25 was the last version that works on windows(just tested on my win10 machine). Didn't need to downgrade flower(browser monitor for celery) though.

    See also the FAQ for Windows

提交回复
热议问题