由于我的Python安装在C:\Program Files (x86)\Python27,而且我安装的Vc是vs2008(9.0)的,所以基本上会遇到许多坑。
python -m pip install numpy
弹出如下出错。
RuntimeError: Broken toolchain: cannot link a simple C program
http://numpy-discussion.10968.n7.nabble.com/Compiling-NumPy-on-Windows-for-Python-3-3-with-MSVC-2010-td32356.html
找到答案, Lib\distutils\msvc9compiler.py
#mfinfo = self.manifest_get_embed_info(target_desc, ld_args)
mfinfo = None
问题解决!
网友评论