0

我已经从这个 URL 安装了 PyQT:

http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe

我安装了 Python 2.6。

我的操作系统是 Windows XP SP3。

我在 cmd.exe 中输入了这个:

easy_install cheetah

这是输出:

C:\Documents and Settings\All Users>easy_install cheetah
Searching for cheetah
Best match: cheetah 2.4.3
Processing cheetah-2.4.3-py2.6.egg
cheetah 2.4.3 is already the active version in easy-install.pth
Installing cheetah-script.py script to C:\Python26\Scripts
Installing cheetah.exe script to C:\Python26\Scripts
Installing cheetah.exe.manifest script to C:\Python26\Scripts
Installing cheetah-compile-script.py script to C:\Python26\Scripts
Installing cheetah-compile.exe script to C:\Python26\Scripts
Installing cheetah-compile.exe.manifest script to C:\Python26\Scripts

Using c:\python26\lib\site-packages\cheetah-2.4.3-py2.6.egg
Processing dependencies for cheetah
Searching for Markdown>=2.0.1
Reading http://pypi.python.org/simple/Markdown/
Reading http://www.freewisdom.org/projects/python-markdown/
Reading http://www.freewisdom.org/projects/python-markdown
Reading https://sourceforge.net/project/showfiles.php?group_id=153041
Best match: Markdown 2.0.3
Downloading http://sourceforge.net/projects/python-markdown/files/markdown/2.0.3
/Markdown-2.0.3.win32.exe/download
Processing download
error: Couldn't find a setup script in c:\docume~1\admini~1\locals~1\temp\easy_i
nstall-awtoum\download

C:\Documents and Settings\All Users>

有什么帮助吗?

4

1 回答 1

2

您在“awtoum”上遇到的错误可能是针对Autumn-ORM的,您可以使用命令安装它easy_install autumn。一旦你有这个先决条件,你可以再试一次 Cheetah 安装,如果 Autumn-ORM 已经安装,它应该跳过错误。

或者,通过 pip 安装可能会更好(具有讽刺意味的是,您可以使用命令安装easy_install pip)。使用 pip,运行pip install cheetah将尝试获取最新版本和所有先决条件/依赖项)。

于 2010-10-17T03:47:05.873 回答