本帖最后由 宝塔用_dd82 于 2023-10-24 16:54 编辑
升级报错部分
Collecting Cheetah
Downloading https://mirrors.aliyun.com/pypi/packages/cd/b0/c2d700252fc251e91c08639ff41a8a5203b627f4e0a2ae18a6b662ab32ea/Cheetah-2.4.4.tar.gz (190 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 191.0/191.0 kB 693.5 kB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-vcosbr3m/cheetah_0ebc84e5341b4183b2ad8468b3a52790/setup.py", line 10, in <module>
import SetupTools
File "/tmp/pip-install-vcosbr3m/cheetah_0ebc84e5341b4183b2ad8468b3a52790/SetupTools.py", line 50
except DistutilsPlatformError, x:
^
SyntaxError: invalid syntax
[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-fail
× Encountered error while generating package metadata.
╰─> See above for output.note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
--2023-10-24 16:17:43-- https://dg2.bt.cn/install/update/LinuxPanel-8.0.3.zip
Resolving dg2.bt.cn (dg2.bt.cn)... 103.179.243.14, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg2.bt.cn (dg2.bt.cn)|103.179.243.14|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16396548 (16M) [application/zip]
Saving to: ‘/tmp/panel.zip’
|