redis:Invalid input of type: 'bool' type. Convert to a byte,string or number first 分析:出现此错误的原因是redis版本过高导致的,因此降低redis版本即可 解决: pip install -U redis==2.10.6