RuntimeError: Broken toolchain: cannot link a simple C program

今天Python2.7下安装numpy的时候遇到了此错误,进过查阅发现以下方法可行

在Python27\Lib\distutils\msvc9compiler.py 文件中,找到

mfinfo = self.manifest_get_embed_info(target_desc, ld_args)行将其改为

mfinfo=none

详细请查看这里

时间: 2024-09-12 01:15:47

RuntimeError: Broken toolchain: cannot link a simple C program的相关文章

A simple Test-Query Program

/************************************************************************* * * Using the library: A Simple Test-Query Program * ************************************************************************/ #include<iostream> #include<vector> #incl

03-01 The Anatomy of a Simple C# Program

On the Windows operating system, an application’s return value is stored within a system environment variable named %ERRORLEVEL%. 在Windows操作系统,一个应用程序的返回值被储存在一个命名为%ERRORLEVEL%系统环境变量里面.

python 安装scikit!!!

首先,吐槽一下,真的是折腾好几天,一会更新这个,一会更新那个,总是各种奇葩问题诸如此类: cannot import check-build pip有新版本,需要更新(黄字) 其中scipy出错最多,但是还是可安装的 找不到指定模块 no model XXX 诸如此类,各种更新就是不行 但是下边的这个文章真的是帮了大忙.........本身比较懒惰,不想全部卸载后在更新,所以一直各种问题,看了下边的文章,非常有用,当然有些人的可能真的只是scipy不兼容,那你更新一下就好了,要是还不行,你就全删

安装numpy问题汇总

系统环境是win7(64bit)+python3.4(64bit)+numpy1.82+vs2012 1.如果用sourceforge上编译好的32bit的exe安装,会提示'python version ** required,which was not found in the registry'. 原因是安装的python是64bit的吧(不确定),但是注册表里确实没有, 2.自己手动编译numpy安装,在numpy目录下cmd里'python setup.py build'会提示'una

python安装包问题小结

这篇文章主要讲述Python如何安装Numpy.Scipy.Matlotlib.Scikit-learn等库的过程及遇到的问题解决方法.你可能遇到的问题包括:ImportError: No module named sklearn 未安装sklearn包ImportError: DLL load failed: 找不到指定的模块ImportError: DLL load failed: The specified module could not be foundMicrosoft Visual

安装numpy、nltk问题汇总

系统环境是win7(64bit)+python3.4(64bit)+numpy1.82+vs2012 1.假设用sourceforge上编译好的32bit的exe安装,会提示'python version ** required,which was not found in the registry'. 原因是安装的python是64bit的吧(不确定),可是注冊表里确实没有, 2.自己手动编译numpy安装,在numpy文件夹下cmd里'python setup.py build'会提示'un

使用Python的pip命令安装numpy

NumPy 是一个基础科学的计算包.很多的科学计算特别是向量处理的时候会用到. 因为用到了,而且安装的过程中出现了一些问题,所以记录下来,便于备查. 平台: windows 8.1 64位 Python: 2.7.9 32位(已包含pip命令) 无Microsoft的VS环境 打开powershell,(事先将Python以及Python的Script的目录导入环境变量PATH中),输入 pip install numpy 会出现: Unable to find vcvarsall.bat 的错

【转】Ubuntu安装ARM架构GCC工具链(ubuntu install ARM toolchain)最简单办法

原文网址:http://www.cnblogs.com/muyun/p/3370996.html 一.安装ARM-Linux-GCC工具链 只需要一句命令: sudo apt-get install gcc-arm-linux-gnueabi 前提是你的Ubuntu系统版本是官网支持的最新的版本,若不是,请升级.执行以上命令即可. 二.使用工具链 注意!这里不能使用 gcc 命令来召唤它.它的名字是 arm-linux-gnueabi-gcc .如果出现 Command Not Found,请关

zoj 1763 A Simple Question of Chemistry

A Simple Question of Chemistry Time Limit: 2 Seconds      Memory Limit: 65536 KB Your chemistry lab instructor is a very enthusiastic graduate student who clearly has forgotten what their undergraduate Chemistry 101 lab experience was like. Your inst