Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start celery tasks #493

Open
Haswell49 opened this issue Dec 8, 2022 · 1 comment
Open

Unable to start celery tasks #493

Haswell49 opened this issue Dec 8, 2022 · 1 comment

Comments

@Haswell49
Copy link

How do I run the last command in README.md ? :
celery -A tasks worker --loglevel=INFO

This command results with an error:

Usage: celery [OPTIONS] COMMAND [ARGS]...
Try 'celery --help' for help.            

Error: Invalid value for '-A' / '--app': 
Unable to load celery application.       
Module 'tasks' has no attribute 'celery' 

I suppose the problem is with the init.py of tasks module.

@priyank-panchal-inferenz

Are you using Windows? If so, the command you need is here.
celery -A tasks worker --loglevel=Info --pool=solo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants