我已从此网址安装了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>
任何帮助?
答案 0 :(得分:2)
'awtoum'上的错误可能是 Autumn-ORM ,您可以使用命令easy_install autumn
安装。一旦你有了这个先决条件,你可以再试一次Cheetah安装,如果已经安装了Autumn-ORM,它应该跳过错误。
或者,你可能有更好的运气通过pip安装(也许具有讽刺意味的是,你可以使用命令easy_install pip
安装)。使用pip,运行pip install cheetah
将尝试获取最新版本和所有先决条件/依赖项。)