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.

  1. For installing with MacPorts, type the following command:
    sudo port install py-numpy py-scipy py-matplotlib py-ipython
    
  2. Fink also has packages for NumPy: 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
    

What just happened?

We installed NumPy and other recommended software on Mac OS X with MacPorts and Fink.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.3.208