redis.exceptions.DataError: Invalid input of type: 'dict'. Convert to a byte, string or number first 解决办法:: 降低版本 建议安装10.6 pip install redis==2.10.6