背景
python查询Redis数据库中的数据,显示没有redis模块
解决方法
1.使用pip工具安装redis模块

pip install redis

2.下载redis的python接口redis-py
下载地址点这里

git clone https://github.com/andymccurdy/redis-py
cd redis-py/
python setup.py install

检验
解决ImportError: No module named redis

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
  • 2021-08-13
  • 2021-07-11
猜你喜欢
  • 2021-09-18
  • 2021-04-15
  • 2021-10-17
  • 2021-12-02
  • 2022-02-04
  • 2022-12-23
相关资源
相似解决方案