【发布时间】:2014-05-29 16:11:59
【问题描述】:
版本是带有 pip 的 Python 3.4,以及 Windows 7 操作系统中的 Visual Studio 2010。当我在 cmd 中运行 pip install numpy 时,它会给出:
文件“numpy\core\setup.py”,第 682 行,在 get_mathlib_info raise
RuntimeError("损坏的工具链:无法链接简单的 C 程序")
RuntimeError: Broken toolchain: cannot link a simple C program
【问题讨论】:
-
如果您还没有,请查看answer。
-
@Huu Nguyen 谢谢你的回答。我读了那页。但是,它专用于 MacOS 中的一个问题。我的是win7,所以答案对我帮助不大。
-
链接问题的最佳答案是:运行 Sudo 。这对 Windows 没有帮助。因此,这个问题值得重新讨论。