Skip to content

IPython Installation Options

aj edited this page Jan 28, 2014 · 4 revisions

Option 1. Manually with pip

If you have previously worked with Python and installed packages with the pip command, you can install IPython by running:

pip install ipython

In order to use the ipython-notebook feature, you will have to install the notebook dependencies. Do this with pip by running:

pip install jinja2 sphinx pyzmq pygments tornado nose readline

When this finishes, you can open an IPython notebook from the terminal by running:

ipython notebook

You should do this in a system directory where you want to save your notebook files. IPython notebooks will get saved like your_notebook_name.ipynb in the directory where you run this command.

Additionally, when we start working with Python libraries such as pandas and matplotlib, you will need to use the pip command to install these packages.

Option 2. Anaconda

Download from (http://continuum.io/downloads) and follow installation instructions for your system.

When you finish installation, to check that you succeeded and can access Anaconda and installed packages from the terminal open a terminal window and type conda -V and the response should be conda 2.0.4

If you see command not found: conda, you will probably need to add ~/anaconda to your $PATH terminal variable.

If you successfully install Anaconda, you should now be able to run IPython from your terminal!