简易安装在Windows 7中不起作用

2024-05-23 14:32:33 发布

您现在位置:Python中文网/ 问答频道 /正文

我在C:\ Python26中安装了Python2.6.4。

我在这里安装了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中它起作用了。


Tags: installorrichardhttpwwweasystaticexe
3条回答

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

有个相关的问题。

我在分号后添加了一个空格,然后在脚本目录中键入。在我移除空间之前,easy_安装不起作用。

例如C:\ Python26;C:\ Python26\Scripts 不起作用。。。

我想它住在这里:c:\python\scripts\easy_install.exe


稍后:好的,您是否安装了easy_install?下载适合您的python版本here的Windows安装程序。(如果没有scripts目录,则可能没有安装easy_install。)

相关问题 更多 >