easy_install 在 Windows 7 中不起作用 [英] easy_install does not work in Windows 7
问题描述
我在 C:\Python26 中安装了 Python 2.6.4.
I have Python 2.6.4 installed in C:\Python26.
我从这里安装了 PyQt4:http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe
I have PyQt4 installed from here: http://www.riverbankcomputing.co.uk/static/Downloads/PyQt4/PyQt-Py2.6-gpl-4.7.7-1.exe
我已将此路径添加到 %PATH%:
I have added this path to %PATH%:
C:\Python26;C:\Python26\Scripts
当我在 cmd.exe 中输入这个命令时:
When I type this command in cmd.exe however:
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 中它有效.
Any help? In Windows XP it worked.
推荐答案
我认为它就在这里:c:\python\scripts\easy_install.exe
稍后:好的,您安装了 easy_install
吗?在此处下载适合您的 Python 版本的 Windows 安装程序.(如果您没有 scripts
目录,那么您可能还没有安装 easy_install
.)
Later: okay, have you installed easy_install
? Download the appropriate Windows installer for your python version here. (If you have no scripts
directory, then you probably have not installed easy_install
.)
这篇关于easy_install 在 Windows 7 中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!