本帖最后由 谢花郎 于 2020-3-13 14:33 编辑
各位大神和BT工作人员辛苦:
宝塔Linux面板由5.9.2版本直接升级到7.1.1版,最后显示成功升级到7.1.1版本,但是出现一片下面的红色提示代码,高手帮忙看看有没有问题,后期是否影响使用,感谢···
出现这种红色代码:command: /www/server/panel/pyenv/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-85i5itax/Cheetah/setup.py'"'"'; __file__='"'"'/tmp/pip-install-85i5itax/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-install-85i5itax/Cheetah/pip-egg-info
cwd: /tmp/pip-install-85i5itax/Cheetah/
Complete output (8 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-85i5itax/Cheetah/setup.py", line 10, in <module>
import SetupTools
File "/tmp/pip-install-85i5itax/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.
|
|