原版本号为5.9,利用下面命令升级- 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.
然后程序继续执行,最终提示成功升级。
升级后面板能够进入,网站也可以。但是,这个错误会不会有其他影响呢?
|
|