场景 在网络驱动器中,使用flask的virtualenv安装redis 2.10.6版本,但是报错: ‘NoneType’. Convert to a byte, string or number first. 解决办法 百度发现是redis的版本过高,通过检查,virtualenv的版本是2.10.6,但是linux中已经存在redis 3.0版本,所以需要pip uninstall redis删除掉高版本,安装2.10.6。项目正常启动。0.0