Installing NumPy on MacOS X Snow Leopard

RustyRazorblade Consulting RustyRazorblade Consulting
1 min read

NumPy is a requirement to work with PyTables. This is the second step in the install process, after getting HDF5 set up.

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.

NumPy is a requirement to work with PyTables. This is the second step in the install process, after getting HDF5 set up.

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

Enjoy!

RustyRazorblade Consulting

RustyRazorblade Consulting

Apache Cassandra Consultant and Distributed Systems Expert

Related Posts

Need Expert Help with Apache Cassandra?

Get professional consulting for your distributed systems challenges. Performance optimization, architecture design, and troubleshooting.