I’m encountering an error when trying to use Celery with Redis in my Python project. Despite having installed both Celery and Redis, I’m getting the following error:
This error occurs in the Kombu library, which is a dependency of Celery.
I’ve already tried the following steps:
Installed Redis: pip install redis
Installed Celery: pip install celery
Verified that Redis server is running
Checked that Iam using the correct virtual environment
My environment:
Python version: 3.10
Operating System: macOS (as indicated by the file
> paths) Using a virtual environment
What could be causing this error, and how can I resolve it? Is there a potential version conflict or misconfiguration that I’m overlooking?
Tags: python, celery, redis, kombu