Installing NumPy on MacOS X Snow Leopard
These instructions are based on the ones found on the NumPy site, but I’m summarizing things for my own use later on.
First, you’ll need to install the Fortran compiler for OSX (gFortran). Fortunately there’s a Fortran universal binary installer.
Next, get the NumPy source. You can find it on Sourceforge.
Now, build with gFortran.
python setup.py build –fcompiler=gnu95 python setup.py install