ERROR: Command errored out with exit status 1:
command: /root/.virtualenvs/myblog/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-uu8yne2t/cheetah_09c31d57a6b34ca9b4a2e5a35796eaa2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-uu8yne2t/cheetah_09c31d57a6b34ca9b4a2e5a35796eaa2/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-1b4kfztr
cwd: /tmp/pip-install-uu8yne2t/cheetah_09c31d57a6b34ca9b4a2e5a35796eaa2/
Complete output (8 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-uu8yne2t/cheetah_09c31d57a6b34ca9b4a2e5a35796eaa2/setup.py", line 10, in <module>
import SetupTools
File "/tmp/pip-install-uu8yne2t/cheetah_09c31d57a6b34ca9b4a2e5a35796eaa2/SetupTools.py", line 50
except DistutilsPlatformError, x:
^
SyntaxError: invalid syntax
----------------------------------------
WARNING: Discarding http://mirrors.tencentyun.com/pypi/packages/cd/b0/c2d700252fc251e91c08639ff41a8a5203b627f4e0a2ae18a6b662ab32ea/Cheetah-2.4.4.tar.gz#sha256=be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550 (from http://mirrors.tencentyun.com/pypi/simple/cheetah/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ERROR: Could not find a version that satisfies the requirement Cheetah==2.4.4
ERROR: No matching distribution found for Cheetah==2.4.4
错误:找不到满足Cheetah==2.4.4要求的版本
错误:未找到Cheetah==2.4.4的匹配分布
那这个应该怎么安装这个版本呢? 是因为这个问题吗?
pip install Cheetah==2.4.4或者下载安装包进行安装。安装包下载地址:https://pypi.org/project/Cheetah/2.4.4/#files