Calico IPython
From IPRE Wiki
Calico IPython
Currently, we are trying to get clrzmq to build on Mac OSX. Works on Linux. Unknown on Windows.
Requirements
- ZeroMQ (clrzmq)
- sudo apt-get install libzmq1
- sudo ln -s /usr/lib/x86_64-linux-gnu/libzmq.so.1 /usr/lib/x86_64-linux-gnu/libzmq.so
- jinja2, tornado, pyzmq
- Needs Python 2.7 or better
- python easy-install
- IPython 1.1
- See below
- MathJax, inside python:
- from IPython.external.mathjax import install_mathjax
- install_mathjax()
- Latest Calico from git
- git clone https://bitbucket.org/ipre/calico.git
ipython console --KernelManager.kernel_cmd="['mono', '/path/to/Calico.exe', '--server', '{connection_file}']"
Virtual Box
- installed virtual box from:
- downloaded *32-bit* Ubuntu 12.04 LTS iso file from:
- set up a new Ubuntu VM using the iso file.
- see http://www.youtube.com/watch?v=_42JLz2izBU for more info.
- so that we can go into fullscreen mode:
- apt-get install dkms build-essential
- In the VM, choose menu option Devices -> Insert Guest Additions CM Image...
- A new CDROM will appear on the Ubuntu desktop. Rightclick and choose the Autorun.
- Also chose Devices -> Shared Clipboard -> Bidirectional
- Restarted VM
- to create shared folders between guest/host:
- see http://helpdeskgeek.com/virtualization/virtualbox-share-folder-host-guest/
- to change computer name, see: http://community.linuxmint.com/tutorial/view/735
IPython
Setting up ipython on ubuntu 12.04 LTS (1/24/2014)
- sudo apt-get install emacs git
- sudo apt-get install python-setuptools
- sudo apt-get install python-matplotlib
- sudo apt-get install python-dev
- sudo apt-get install libzmq1 libzmq-dev
- sudo easy_install ipython
- sudo easy_install tornado
- sudo easy_install jinja2
- sudo easy_install pyzmq
- ipython> from IPython.external.mathjax import install_mathjax
- ipython> install_mathjax()
Older Linuxes will require getting a new IPython:
- sudo easy_install tornado
- sudo easy_install pyzmq
- sudo easy_install jinja2
- git clone --recursive https://github.com/ipython/ipython.git
- cd ipython/
- git branch -r
- git checkout -b 1.x origin/1.x
- git status
- git branch
- python setup.py build
- sudo python setup.py install