Jpython 发表于 2014-04-03 18:46

用easy_install 安装包时出现 ubable find to vcvarsallbat

我笔记本里只有VC++,没有VS,想安装个VS2008把,这文件也太大了。mingw也一直安装错误,求解决方案。

xmchenb 发表于 2014-04-09 15:45

解决办法:

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]
查看完整版本: 用easy_install 安装包时出现 ubable find to vcvarsallbat