Install IPython 2.0 on Linux Mint Maya

In howto on Mar 16, 2014 by theoryl Tagged: , , , , ,

Based on, on Linux Mint 13 “Maya” (64-bit), the following is how I build IPython 2.0 from source. The instructions should work the same for Ubuntu 12.04 “Precise Pangolin”. Using python version 2.7.

# First, install 'distribute' for use with 'pip', which is going to replace 'easy_install'
# I assume 'easy_install' is already installed. If not, install 'easy_install' first
sudo easy_install -U distribute

# Second, get 'pip'
sudo apt-get install python-pip

# Then, install an optional package 'pandoc' for document conversion
sudo apt-get install pandoc

# Now, install all the dependencies, some of them optional
sudo pip install virtualenv jinja2 sphinx pyzmq pygments tornado nose pexpect matplotlib

# Get the source and compile
git clone --recursive
cd ipython
sudo python install

# I got the following printout from the above step
#                python: 2.7.3 (default, Feb 27 2014, 19:58:35)  [GCC 4.6.3]
#              platform: linux2
#                sphinx: 1.2.2
#              pygments: 1.6
#                  nose: 1.3.1
#               pexpect: 2.3
#                 pyzmq: 14.1.0
#               tornado: 3.2
#              readline: yes
#                jinja2: 2.7.2

# Test whether it works
ipython --version

# I got the following printout from the above step

# Setup some useful profile preferences
ipython profile create foo
cp ~/.ipython/profile_foo/ipython_*.py ~/.ipython/profile_default/

# Run IPython notebook
ipython notebook

Thanks to IPython contributors for building this amazing tool.


Leave a Reply

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

You are commenting using your 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: