Book Image

NumPy: Beginner's Guide

By : Ivan Idris
Book Image

NumPy: Beginner's Guide

By: Ivan Idris

Overview of this book

Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
NumPy Functions' References
Index

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 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, and scipy-core-py26. The SciPy packages are scipy-py24, scipy-py25 and scipy-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
    

What just happened?

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