Installing the SciPy stack

The SciPy stack consists of Python along with the most commonly used scientific, mathematical, and ML libraries. (visit: scipy.org). These include NumPy, Matplotlib, the SciPy library itself, and IPython. The packages can be installed individually on top of an existing Python installation, or as a complete distribution (distro). The easiest way to get started is using a distro, if you have not got Python installed on your computer. The major Python distributions are available for most platforms, and they contain everything you need in one package. Installing all the packages and their dependencies separately does take some time, but it may be an option if you already have a configured Python installation on your machine.

Most distributions give you all the tools you need, and many come with powerful developer environments. Two of the best are Anaconda (www.continuum.io/downloads) and Canopy (http://www.enthought.com/products/canopy/). Both have free and commercial versions. For reference, I will be using the Anaconda distribution of Python.

Installing the major distributions is usually a pretty painless task.

Tip

Be aware that not all distributions include the same set of Python modules, and you may have to install modules, or reinstall the correct version of a module.

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

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