4
Install redis
globally with
pip install redis
OR (if you use pipenv
)
The error in my case occurs as the
redis
package in the environment is not used when running
python -m celery -A *django_app* worker
If you use pipenv
to manage you python environment you could run the command above as:
pipenv run python -m celery -A *django_app* worker
- [Django]-Django TemplateSyntaxError – 'staticfiles' is not a registered tag library
- [Django]-Redirect to Next after login in Django
- [Django]-Django: Converting an entire set of a Model's objects into a single dictionary
- [Django]-How do I integrate Ajax with Django applications?
- [Django]-What is the advantage of Class-Based views?
- [Django]-Django: How to get related objects of a queryset?
Source:stackexchange.com