2010-10-18 74 views
4

我在C:\ Python26中安装了Python 2.6.4。easy_install在Windows 7中无法正常工作

我从这里安装PyQt4的:http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe

我加入这个路径%PATH%:

C:\Python26;C:\Python26\Scripts 

当我键入然而在CMD.EXE命令:

easy_install cheetah 

我收到此错误:

C:\Users\Richard>easy_install cheetah 
'easy_install' is not recognized as an internal or external command, 
operable program or batch file. 

C:\Users\Richard> 

有什么帮助吗?在Windows XP中它工作。

回答

9

我觉得住在这里:c:\python\scripts\easy_install.exe


后来:没关系,你安装了easy_install?为您的python版本here下载相应的Windows安装程序。 (如果你没有scripts目录,那么你可能还没有安装easy_install。)

+0

我也是这么做的。 C:\ Python26中没有Scripts目录。 – 2010-10-18 16:36:30

+0

安装Python时未安装easy_install。如果easy_install安装正确(使用hughdbrown链接的信息),将会有一个Scripts目录。 – Velociraptors 2010-10-18 17:11:24

2

尝试将C:\Python26\Scripts路径添加到%PATH%easy_install.exe应该在那里。

+0

我也那样做过。 C:\ Python26中没有Scripts目录。 – 2010-10-18 16:35:48

1

有一个问题是相关的。

我在分号后添加了一个空格,然后在scripts目录中键入。 easy_install没有工作,直到我删除的空间。

即。 C:\ Python26; C:\ Python26 \ Scripts中 不工作...

相关问题