How to update Numpy on Mac OS X Snow Leopard?

larus picture larus · Oct 5, 2009 · Viewed 38.7k times · Source

How can I update Numpy into the newest one? Should I download .dmg file from here:

http://sourceforge.net/projects/numpy/files/

Is this .dmg only for 10.5? I have installed numpy using these instructions:

http://www.scipy.org/Installing_SciPy/Mac_OS_X

My current Numpy is 1.2.1. I'm running on Mac OS X 10.6.1 Snow Leopard. Thanks!

Answer

Barry Wark picture Barry Wark · Oct 5, 2009

sudo easy_install -U numpy

Installing via setuptools will get the new numpy on the sys.path for non-system utilties (I've been told that some Apple utilities rely on the system-numpy). In general, setuptools will "do the right" thing on OS X.