开发者

Installing NumPy on Snow Leopard (10.6) with XCode 4 installed

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 toolchai开发者_C百科n: 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).


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜