1、安装redis pip install redis 转载请注明博客出处:http://www.cnblogs.com/cjh-notes/ 转载于:https://www.cnblogs.com/cjh-notes/p/10407579.html