为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:[color=rgba(0, 0, 0, 0.6)]Linux - CentOS (core) 7.9.2009 x64
问题描述:宝塔redis启动失败,报错找不到redis模块
相关截图(日志、错误):REQUEST_DATE: 2024-09-08 11:41:26 VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 9.1.0 REMOTE_ADDR: 192.168.31.45 REQUEST_URI: POST /database/redis/CheckDatabaseStatus? REQUEST_FORM: {'data': '{"sid":0}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36 Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2435, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2382, in run result = getattr(toObject, get.action)(get) File "class/panelDatabaseController.py", line 90, in model raise public.PanelError(result['msg']) public.PanelError: 面板运行时发生错误: Traceback (most recent call last): File "/www/server/panel/class/databaseModel/redisModel.py", line 23, in import redis ModuleNotFoundError: No module named 'redis' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/server/panel/class/databaseModel/redisModel.py", line 26, in import redis ModuleNotFoundError: No module named 'redis'
|
|