RuntimeError: Broken toolchain: cannot link a simple C program

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

在Python27Libdistutilsmsvc9compiler.py 文件中,找到

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

mfinfo=none

详细请查看这里

原文地址:https://www.cnblogs.com/tyoyi/p/4695711.html