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

【待反馈】面板从5.9升级到7.4成功,但又报错

发表在 Linux面板2020-7-23 17:53 [复制链接] 1 1184

原版本号为5.9,利用下面命令升级
  1. curl http : // download.bt.cn/install/update_to_6.sh|bash
复制代码
升级快结束的时候,有了以下报错
Collecting Cheetah
  Downloading .../Cheetah-2.4.4.tar.gz (190 kB)
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 190 kB 52.4 MB/s     ERROR: Command errored out with exit status 1:
     command: /www/server/panel/pyenv/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-20xazfpk/Cheetah/setup.py'"'"'; __file__='"'"'/tmp/pip-install-20xazfpk/Cheetah/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-bmovvbxb
         cwd: /tmp/pip-install-20xazfpk/Cheetah/
    Complete output (8 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-20xazfpk/Cheetah/setup.py", line 10, in <module>
        import SetupTools
      File "/tmp/pip-install-20xazfpk/Cheetah/SetupTools.py", line 50
        except DistutilsPlatformError, x:
                                     ^
    SyntaxError: invalid syntax
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

然后程序继续执行,最终提示成功升级。
升级后面板能够进入,网站也可以。但是,这个错误会不会有其他影响呢?



使用道具 举报 只看该作者 回复
发表于 2020-7-24 09:32:34 | 显示全部楼层
您好,面板是否能整启动了?ssh内执行bt 16修复一下面板看看。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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