redis:Invalid input of type: ‘bool’ type. Convert to a byte,string or number first 在Django框架里遇到了这个问题,是因为redis版本过高,降低redis版本即可 pip install -U redis==2.10.6