问题
Trying to install various packages on a Windows 7 64 bit and learned that ActivePython helps (as it includes easy_install among others).
It surely seems pretty robust. However I'm trying to easy_install a few packages and its failing.
The problem is that the easy_install.exe actually launches in a new terminal and closes on its own, even when there is a problem, how do I avoid that ?
Anyone faced this issue ?
回答1:
Perhaps easy_install
is trying to relaunch itself as Administrator in a different window which quits immediately after easy_install exits. Try running easy_install from an Administrator prompt.
As a recommendation for ActivePython users, easy_install should only be used a last resort; you should first try installing packages using PyPM (included in ActivePython). See http://code.activestate.com/pypm/
回答2:
try specifying the command like so: c:\python27\python.exe -m easy_install Django==1.6.5v
来源:https://stackoverflow.com/questions/5362948/how-can-i-make-easy-install-exe-not-open-in-a-separate-window