Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Is it possible to use celery with windows?


Asked by Kyle Quintero on Nov 30, 2021 Windows



Celery is a project with minimal funding, so we don’t support Microsoft Windows. Please don’t open any issues related to that platform. Celery is usually used with a message broker to send and receive messages.
Just so,
Note: When you run celery with gevent or eventlet pool, it will work but it won't run concurrent processes on windows. To run celery on windows for development. you have two methods. Use Windows as Host Machine. Install Celery using Pip install Celery. Run Celery commands.
Consequently, Celery is easy to use and maintain, and it doesn’t need configuration files. It has an active, friendly community you can talk to for support, including a mailing-list and an IRC channel.
Accordingly,
There are two workarounds to make Celery 4 work on Windows: It's done the same way as in Linux. Changing directory to module containing celery task and calling "c:\python\python" -m celery -A module.celery worker worked well. There are typos you need to fix. More so, you don't need to call python before using celery.
Indeed,
Celery is an asynchronous task queue that is fairly easy to integrate with a Python application. It requires a messaging queue (also known as a broker) to send and receive messages. Popular brokers are Redis and RabbitMQ. In this post, we will see how to install and run Celery using Windows Subsystem for Linux (WSL) on Windows 10.