Celery worker suddenly not working and displaying error message saying unknown option -A. I am running celery 5.0.0 on windows within virtual environment of python. The command is
pipenv run celery worker -A <celery_file> -l info
Error message is as follows:
Usage: celery worker [OPTIONS]
Try 'celery worker --help' for help.
Error: no such option: -A
Please let me know why this error is occurring, as I am unable to find the cause of it.