Celery on Windows

Jan. 17, 2018

Running celery on Windows, shows the following error when tasks are queued to be executed:

ValueError: not enough values to unpack (expected 3, got 0)

The way to fix this is to add --pool=solo to the celery daemon command line. This makes celery run as a solo process and without concurrency, which for development purposes shouldn't be a big deal.

So the entire daemon command would look something like this:

python -m celery -A config worker --pool=solo -l info

Taken from this Github thread.