当前位置:论坛首页 > Linux面板 > 求助

【已解决】宝塔运行日志提示运行错误

发表在 Linux面板6 天前 [复制链接] 1 55

面板、插件版本:11.2.0

系统版本:Debian12  x86_64

问题描述:运行日志报错

相关截图(日志、错误):During handling of the above exception, another exception occurred:
Traceback (most recent call last):File ";/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py";, line 33, infrom oauth2client.contrib.locked_file import LockedFileModuleNotFoundError: No module named ';oauth2client.contrib.locked_file';During handling of the above exception, another exception occurred:Traceback (most recent call last):File ";/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py";, line 37, infrom oauth2client.locked_file import LockedFileModuleNotFoundError: No module named ';oauth2client.locked_file';During handling of the above exception, another exception occurred:Traceback (most recent call last):File ";/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/discovery_cache/__init__.py";, line 41, in autodetectfrom . import file_cacheFile ";/www/server/panel/pyenv/lib/python3.7/site-packages/googleapiclient/discovery_cache/file_cache.py";, line 41, in';file_cache is unavailable when using oauth2client >= 4.0.0';)ImportError: file_cache is unavailable when using oauth2client >= 4.0.0\n\n
使用道具 举报 只看该作者 回复
执行下面两条命令修复环境
1、将当前Python环境做个备份的操作
mv /www/server/panel/pyenv/ /www/backup/pyenv_backup
2、重新执行更新命令,重新安装面板使用的python环境,此操作不会对您的网站、数据库等造成影响,仅仅是针对面板使用的环境修复。
curl https://download.bt.cn/install/update_panel.sh|bash
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表