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.
sudo port install py-numpy py-scipy py-matplotlib py-ipython
scipy-core-py24
, scipy-core-py25
, and scipy-core-py26
. The SciPy packages are: scipy-py24
, scipy-py25
, and scipy-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
3.143.3.208