scrapy框架编写向redis数据库中存储数据的相关代码时报错解决办法

错误信息: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,即可解决

猜你喜欢

转载自www.cnblogs.com/lys666/p/10469981.html