How to Install iPython Notebook on OSX Yosemite

Recently found out an interesting or interactive way to run Python with iPython. iPython is an interactive shell for Python. What are the differences between Python and iPython? Refer here for some explaination and discussion 🙂

Another interesting thing try out is running iPython with Jupyter Notebook. A computational interface to do some data plotting.

We will install iPython with PIP, download get-pip.py here. Save it in your Download folder and next fire up your terminal to proceed with installation.

# cd ~/Download 
# sudo python get-pip.py
# pip -V
pip 8.1.2 from /Library/Python/2.7/site-packages (python 2.7)

Run PIP command version check to make sure it’s installed.

Next we will install ipython and jupyter  packages.

$ sudo pip install ipython
$ sudo pip install "ipython[notebook]"
$ sudo pip install pyzmq
$ sudo pip install jinja2
$ sudo pip install tornado
$ ipython -V
4.2.0

By now ipython should be installed. Next launch jupyter with ipython.

$ ipython notebook

It will launch your browser and display the interface. Congrats and continue explore with Python. Let us know, if you bump into some issue to install ipython + jupyter!