Installing IPython

The first step for installing IPython is to install Python. Instructions for the various platforms differ but the instructions for each of them can be found on the Python home page at http://www.python.org. IPython requires Python 2.7 or ≥ 3.3. This book will use 3.5. Both Python and IPython are open source software, so downloads and installations are free.

A standard Python installation includes the pip package manager. pip is a handy command-line tool that can be used to download and install various Python libraries. pip will be used throughout this book when libraries are required. Once Python is installed, IPython can be installed with the following command:

pip install ipython

IPython comes with a test suite called iptest ...

Get Mastering IPython 4.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.