ITPub博客

首页 > 数据库 > NoSQL > err Invalid input of type: 'dict'. Convert to a byte, string or number first

err Invalid input of type: 'dict'. Convert to a byte, string or number first

原创 NoSQL 作者:ywxj_001 时间:2018-12-13 20:16:27 0 删除 编辑

用python向redis写入数据报错:

err Invalid input of type: 'dict'. Convert to a byte, string or number first


查看redis的版本:

pip freeze


现在的redis版本是:redis-3.0.1


对redis降版:


成功写入数据。


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22996654/viewspace-2285206/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
在零售、金融、互联网行业从事数据库相关工作10余年,有丰富的数据库管理和架构的相关经验。 涉及SQLServer、Oracle、MySQL、PostgreSQL等多种数据库。 目前在一家互联网公司担任DBA经理。 负责整个集团数据库的架构设计和管理工作。

注册时间:2010-01-19

  • 博文量
    247
  • 访问量
    436205