Time for action – installing NumPy, SciPy, Matplotlib, and IPython with MacPorts or Fink
Alternatively, we can install NumPy, SciPy, Matplotlib, and IPython through the MacPorts route or with Fink. The following installation steps shown install all these packages. We only need NumPy for all the tutorials in this book, so please omit the packages you are not interested in.
For installing with MacPorts, type the following command:
sudo port install py-numpy py-scipy py-matplotlib py-ipython
Fink also has packages for NumPy:
scipy-core-py24
,scipy-core-py25
, andscipy-core-py26
. The SciPy packages are:scipy-py24
,scipy-py25
, andscipy-py26
. We can install NumPy and the other recommended packages we will be using in this book for Python 2.6 with the following command:fink install scipy-core-py26 scipy-py26 matplotlib-py26
What just happened?
We installed NumPy and other recommended software on Mac OS X with MacPorts and Fink.