一些关于Redis的错误

#1

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

一些关于Redis的错误

解决

redis版本的问题,把redis版本改成2.0即可

pip3 install redis==2.10.6

#2

zmalloc.h:50:31: fatal error: jemalloc/jemalloc.h: No such file or directory

解决

make MALLOC=libc

#3

输入make test后
报错You need tcl 8.5 or newer in order to run the Redis test

解决

yum install tcl