You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Andrew Ray edited this page Mar 18, 2014
·
3 revisions
Installation
IPython 1.1 is required and this may mean updating a some python components using pip.
Instructions for Ubuntu 13.10 can be found below, and I have also tested Fedora 20 which was, apart from some slightly different package names, very similar.
Installing IPython
Ubuntu 13.10 (64 bit)
IOCaml is currently being developed against IPython 1.1. To set this up on Ubuntu 13.10 64 bit do;
Ipython 1.1 is already in arch's repository, no need to use pip
ZMQ is version 4.0 in arch, but the ocaml binding is for 3.2, and it's not compiling anymore, so you need to install it manually (it works fine with abs).
ipython-notebook is included in the ipython2, you just need to install python2-tornado and python2-jinja.
It doesn't work with python 3, which is the default under arch, so you need to use ipython2
Development IPython versions
For development testing you can download IPython packages or the github repository then run
$ python -m IPython [args]
from the directory the package in unpacked to.
Configuring IPython for IOCaml
Run IPython to setup a new iocaml profile
$ ipython profile create iocaml
This will create a new profile hidden away in your home directory. You can find out where with
$ ipython locate profile iocaml
Copy the default IOcaml profile files to the IPython profile
cp -r `opam config var share`/iocaml/profile/* `ipython locate profile iocaml`