easy_install launches as a terminal and closes on

2020-04-16 04:31发布

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 ?

2条回答
别忘想泡老子
2楼-- · 2020-04-16 04:52

try specifying the command like so: c:\python27\python.exe -m easy_install Django==1.6.5v

查看更多
Animai°情兽
3楼-- · 2020-04-16 04:56

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/

查看更多
登录 后发表回答