I am using redis 3.2.0 inside virtual environment for a project. I was facing issues with celery so I installed Redis 5.0 on my local machine. When I try to run celery now, terminal gives the message that it has connected to redis and celery is also ready. But on checking terminal where I ran the server for the project, using 'python manage.py runserver', I get an error :

AttributeError: 'Redis' object has no attribute 'bzpopmin' Exception inside application: 'Redis' object has no attribute 'bzpopmin'

I am using python 3.6 on Windows 10.

Comment From: ptjm

Try updating the redis module in your python installation. bzpopmin was added in version 3 around 2 years ago. Run these statements in a python shell to see what you're running now: import redis print(redis.version)

Comment From: mahima2112

the redis version is 3.2.0 in my project. I checked using pip freeze. And the error is not resolved yet

Comment From: yossigo

@mahima2112 Depending on your Python setup, pip freeze may refer to a different environment than the Python interpreter you run. @ptjm provided a better way to confirm the version in use.

I'm closing this issue as it's not related to Redis server.