Django Channels Error - Cannot import BACKEND 'asgi_redis.RedisChannelLayer'

前端 未结 6 1077
面向向阳花
面向向阳花 2021-01-11 12:22

I have installed Django-Channels but while running the daphne-server I am getting this error given below:

File \"/usr/local/lib/python2.7/dist-packages/chann         


        
6条回答
  •  借酒劲吻你
    2021-01-11 13:17

    With asgiref-2.3.2 and maybe more, you need to install channel_redis.

    NOT asgi_redis.

    pip install channel_redis
    

提交回复
热议问题