在Mac OS X Lion 10.7上安装Numpy
我需要在Mac OS X Lion 10.7上安装Numpy.我用谷歌搜索了一下,似乎有很多东西需要安装.有人说我在安装Numpy之前需要先安装Xcode.但是Numpy的官方网站并未提供有关在Mac上安装Numpy的太多信息.我真的不想安装Xcode,因为它会占用很多空间.
I need to install Numpy on my Mac OS X Lion 10.7. I googled a little bit, it seems like there are a lot of stuff needs to be installed. And some says I need install Xcode before I install Numpy. But the official website of Numpy doesn't give much information about installing Numpy on Mac. I really don't want to install Xcode as it would cost a lot space.
所以有人知道如何安装Numpy吗?有哪些先决条件?
So anyone knows how to install Numpy? What's the prerequisites?
谢谢
通常,除非您有充分的理由,否则您可能希望避免尝试构建numpy/scipy等.你自己.
Generally, unless you have a good reason you might want to avoid trying to have to build numpy/scipy et al. yourself.
对于Mac,有两个不错的,包括所有用于数字python的软件包.充分分发(付费, http://www.enthought.com/)和Sagemath(免费, http://www.sagemath.org/).我很高兴在10.7上使用Sagemath-它具有numpy,scipy等.
For Mac's there are two nice everything-included packages for numerical python. Enthough distribution (paid, http://www.enthought.com/) and Sagemath (free, http://www.sagemath.org/). I'm happily using Sagemath on 10.7 - it has numpy, scipy etc.