错误信息:redis.exceptions.DataError: Invalid input of type: 'dict'. Convert to a byte, string or number first.
解决办法:python中redis包更新导致的问题,变更了srem方法的输入。使用旧版本pip install redis==2.10.6,即可解决