用easy_install 安装包时出现 ubable find to vcvarsallbat
我笔记本里只有VC++,没有VS,想安装个VS2008把,这文件也太大了。mingw也一直安装错误,求解决方案。 解决办法:http://blog.eddsn.com/2010/05/unable-to-find-vcvarsall-bat/
First of all download MinGW. You need g++ compiler and MingW make in setup.
If you installed MinGW for example to “C:\MinGW” then add “C:\MinGW\bin” to your PATH in Windows.
Now start your Command Prompt and go the directory where you have your setup.py residing.
Last and most important step:
setup.py install build --compiler=mingw32
提示:gcc: error: unrecognized command line option '-mno-cygwin'.
打开c:\python26\Lib/distutils/cygwinccompiler.py 删除里面 '-mno-cygwin'
回复 1# Jpython
页:
[1]