在stackoverflow上找到答案
If you are using Redis version 3.0 or above, it will not work with channels version 1.1.8, so you have to install redis version 2.10.6.
所以关键问题是python安装的包中不要用版本3.0+的redis, 而是使用redis==2.10.6
在stackoverflow上找到答案
If you are using Redis version 3.0 or above, it will not work with channels version 1.1.8, so you have to install redis version 2.10.6.
所以关键问题是python安装的包中不要用版本3.0+的redis, 而是使用redis==2.10.6