为pycharm添加redis/redis-py-cluster模块的方法

启动pycharm, View->Tool Windows->Terminal 打开终端界面(一般在pycharm的左下角)

为pycharm添加redis模块的方法

2
输入pip install redis 回车

为pycharm添加redis模块的方法

3
完成后出现 Successfully installed redis-X.X.X

然后在 python console 输入 import redis 不出现错误提示则 ok
为pycharm添加redis模块的方法

END
注意事项
我的pycharm插件中找不到redis 。才考虑用terminal安装的方法

相关文章:

  • 2021-08-08
  • 2021-06-15
  • 2021-05-31
  • 2021-12-15
  • 2022-02-11
  • 2022-12-23
  • 2021-05-29
猜你喜欢
  • 2021-04-01
  • 2021-04-06
  • 2021-11-18
  • 2022-02-23
  • 2021-12-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案