leafney / flask_celery_demo

Flask Celery 4.1.0 Blueprint
10 stars 4 forks source link

No module named celery #1

Open wys18 opened 6 years ago

wys18 commented 6 years ago

when i run 'celery worker -A celery_worker.celery -l=info', i got an error:'File "/usr/local/Cellar/python/2.7.14/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/init.py", line 37, in import_module import(name) ImportError: No module named celery_app' but I have already installed celery. hoping you can help me to solve this problem, thank you

leafney commented 5 years ago

Please use Python3.