Django Channels Error - Cannot import BACKEND 'asgi_redis.RedisChannelLayer'
In regard to Utkarsh's reply itt's been renamed to:
pip install channels-redis
I also faced same problem while working with django-channels, by following the documentation examples https://channels.readthedocs.io/en/latest/tutorial/index.html you just need to install channels-redis as
pip install channels-redis
to resolve this issue.
With asgiref-2.3.2 and maybe more, you need to install channel_redis.
NOT asgi_redis.
pip install channel_redis
Just needed to install 'asgi_redis'. I was assuming that it would have gotten installed by default while installing Django-Channels, but it doesn't. 'asgiref' gets installed by default and not 'asgi_redis'. So to solve this issue, one can just run:
> sudo pip install asgi_redis