easy_install launches as a terminal and closes on its own, how to avoid that

不羁岁月 提交于 2019-12-17 20:29:20

问题


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/5212823/easy-install-launches-as-a-terminal-and-closes-on-its-own-how-to-avoid-that

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!