在已安装 XCode 4 的 Snow Leopard (10.6) 上安装 NumPy
现在我已经升级到 Xcode 4,我似乎无法将 NumPy 安装到系统 Python。
当我尝试这样做时:
easy_install -U numpy
我得到:
File "/private/tmp/easy_install-xoqh9U/numpy-1.6.1/numpy/core/setup.py", line 696, in get_mathlib_info
RuntimeError: Broken toolchain: cannot link a simple C program
我想使用系统 Python(我编译/安装了许多其他模块,并且不这样做)不想为此目的使用 EPD)。
I can't seem to install NumPy to System Python now that I've upgraded to Xcode 4.
When I try to do:
easy_install -U numpy
I get:
File "/private/tmp/easy_install-xoqh9U/numpy-1.6.1/numpy/core/setup.py", line 696, in get_mathlib_info
RuntimeError: Broken toolchain: cannot link a simple C program
I'd like to use System Python (I have many other modules compiled/installed, and don't want to use EPD for this purpose).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您已从网站下载 tar.gz 文件,将其解压缩,然后将该文件夹移动到任何
可以通过键入
sys.path获取的 pythonpath
you have download tar.gz file from the site unzip it and then move that folder to any of the pythonpath
which you can get by typing
sys.path