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
For Celery 4.1 on Windows.
Celery 4.1
Set an environment variable FORKED_BY_MULTIPROCESSING=1. Then you can simply run celery -A worker.
FORKED_BY_MULTIPROCESSING=1
celery -A worker