Menu Home

Installing IPython on OSX Yosemite

I was recently introduced to IPython, and got a bit frustrated trying to get notebook running on OSX. The first time I tried with pip, I learned a lot about conflicting dependencies. I kind of managed to get it rolling, but I wasn’t totally confident about how I got there. When I decided to rebuild my laptop with GA Yosemite I thought it’d be a good opportunity to start from scratch and document the path to a functional IPython Notebook environment!

IPython is a very interesting open source project for “interactive computing”. I’m not sure how best to describe what it does. It’s a browser based notebook that supports text, code, mathematical expresssions and more!¬†Read more about IPython here:¬†http://ipython.org/

From stock Yosemite:

  • install Python 3.4 from python.org
  • download get-pip.py from pypi.python.org

from terminal:

python3 get-pip.py
sudo pip3 install ipython
sudo pip3 install "ipython[notebook]"
sudo pip3 install pyzmq
sudo pip3 install jinja2
sudo pip3 install tornado
ipython notebook

This should start the server process and open a new browser. Enjoy!

Categories: Development

Tagged as:

Chris Saunders

I am a Sr. Cloud Solutions Architect for Red Hat.

email chrisb@redhat.com
twitter @canadianchris

1 reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: