免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2932 | 回复: 1

用easy_install 安装包时出现 ubable find to vcvarsallbat [复制链接]

论坛徽章:
0
发表于 2014-04-03 18:46 |显示全部楼层
我笔记本里只有VC++,没有VS,想安装个VS2008把,这文件也太大了。mingw也一直安装错误,求解决方案。

论坛徽章:
0
发表于 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


   
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP