1、首先下载redis-py (The Python interface to the Redis key-value store)     https://github.com/andymccurdy/redis-py

2、配置 首先 启动 redis并保持开启状态  然后 cmd 指向 redis-py存放的位置

 

命令:Python setup.py install

python读取redis数据

将redis-py这个路径加入系统环境变量,这样python就能识别了,我将"D:\tools\redis-py-2.10.5",加入了系统path,在eclipse中操作redis成功了,这样就不用每次在cmd那黑框框中输入了python读取redis数据

转载于:https://my.oschina.net/lylyg/blog/694116

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-01-21
  • 2021-07-28
  • 2021-09-13
  • 2021-10-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-13
  • 2022-02-10
  • 2022-01-12
相关资源
相似解决方案