Calico IPython

From IPRE Wiki
Revision as of 12:29, 27 January 2014 by Doug Blank (Talk | contribs) (Requirements)

Jump to: navigation, search

Calico IPython

Currently, we are trying to get clrzmq to build on Mac OSX. Works on Linux. Unknown on Windows.


  1. ZeroMQ (clrzmq)
    1. sudo apt-get install libzmq1
    2. sudo ln -s /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
  2. jinja2, tornado, pyzmq
    1. Needs Python 2.7 or better
    2. python easy-install
  3. IPython 1.1
    1. See below
  4. MathJax, inside python:
    1. from IPython.external.mathjax import install_mathjax
    2. install_mathjax()
  5. Latest Calico from git
    1. git clone
ipython console --KernelManager.kernel_cmd="['mono', '/path/to/Calico.exe', '--server', '{connection_file}']"

Virtual Box

  1. installed virtual box from:
  2. downloaded *32-bit* Ubuntu 12.04 LTS iso file from:
  3. set up a new Ubuntu VM using the iso file.
    1. see for more info.
  4. so that we can go into fullscreen mode:
    1. apt-get install dkms build-essential
    2. In the VM, choose menu option Devices -> Insert Guest Additions CM Image...
    3. A new CDROM will appear on the Ubuntu desktop. Rightclick and choose the Autorun.
  5. Also chose Devices -> Shared Clipboard -> Bidirectional
  6. Restarted VM
  7. to create shared folders between guest/host:
    1. see
    2. to change computer name, see:


Setting up ipython on ubuntu 12.04 LTS (1/24/2014)

  1. sudo apt-get install emacs git
  2. sudo apt-get install python-setuptools
  3. sudo apt-get install python-matplotlib
  4. sudo apt-get install python-dev
  5. sudo apt-get install libzmq1 libzmq-dev
  6. sudo easy_install ipython
  7. sudo easy_install tornado
  8. sudo easy_install jinja2
  9. sudo easy_install pyzmq
    1. ipython> from IPython.external.mathjax import install_mathjax
    2. ipython> install_mathjax()

Older Linuxes will require getting a new IPython:

  1. sudo easy_install tornado
  2. sudo easy_install pyzmq
  3. sudo easy_install jinja2
  4. git clone --recursive
  5. cd ipython/
  6. git branch -r
  7. git checkout -b 1.x origin/1.x
  8. git status
  9. git branch
  10. python build
  11. sudo python install