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
Faced the similar issue. Solved it by installing channels_redis:
pip install channels_redis
Also using channel redis in setting too:
CHANNEL_LAYERS = {
'default': {
'BACKEND': 'channels_redis.core.RedisChannelLayer',
'CONFIG': {
'hosts': [('localhost', 6379)],
},
},
'ROUTING': 'ws.routing.application',
}