1.通过pip进行安装 命令:pip install redis 截图: 2.验证安装是否成功 命令: python import redis redis.VERSION 截图: 转载于:https://blog.51cto.com/suyanzhu/2315025