找到Python的第三方包安装路径,在dos命令行中切换到该目录,输入:

pip install redis

最后在Python解释器中即可。

Python下redis包安装

 

相关文章: