开发者

How can I make easy_install.exe not open in a separate window?

开发者 https://www.devze.com 2023-02-28 17:21 出处:网络
I\'m setting up a new machine and am using 64-bit Python 2.6.6 on Windows 7.I installed a pre-compiled version of setuptools.

I'm setting up a new machine and am using 64-bit Python 2.6.6 on Windows 7. I installed a pre-compiled version of setuptools.

When I run setuptools from an administrator (or user) command shell, it spawns a new command window and then closes it after completing. I'm unable to see any output.

easy_install --help 

Every time I've installed setuptools before has been on 32-bit Python and of course the behavior is as expected (output in开发者_如何学编程 the same command window).

There are two related questions already in stackoverflow. The first one appears identical to my problem. However, that question was incorrectly closed as a duplicate of this second question.


I was ultimately able to resolve this. I believe it was the result of the compilation method used for the setuptools binary.

I had originally used the compiled binaries that were available here:

http://www.lfd.uci.edu/~gohlke/pythonlibs/

I just had to uninstall the setuptools binary and install one available here:

http://pypi.python.org/pypi/setuptools

Presumably you'd also be able to compile your own version should you need a win64 binary. I had tried installing 32-bit Python and again used a binary from the first link, but had the same problem. Using the compiled 32-bit version on pypi (of course on 32-bit python) solved my issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消