Alternatively, we can install NumPy, SciPy, matplotlib, and IPython through the MacPorts route or with Fink. The following installation steps show how to install all these packages:
Installing with MacPorts: Type the following command:
$ [sudo] port install py-numpy py-scipy py-matplotlib py-ipython
Installing with Fink: Fink also has packages for NumPy—
scipy-core-py24
,scipy-core-py25
, andscipy-core-py26
. The SciPy packages arescipy-py24
,scipy-py25
andscipy-py26
. We can install NumPy and the additional recommended packages, referring to this book on Python 2.7, using the following command:$ fink install scipy-core-py27 scipy-py27 matplotlib-py27