1.经过pip进行安装python
命令:pip install redisredis
截图:ide
2.验证安装是否成功spa
命令:ip
pythonget
import redisit
redis.VERSIONpip
截图:class