Jupyter
From FarmShare
(Difference between revisions)
(Created page with "== Ipython == Ipython") |
|||
Line 1: | Line 1: | ||
== Ipython == | == Ipython == | ||
- | Ipython | + | Ipython provides both a command line and browser based (notebook) interfaces. The development is quite fast, so the distribution provided packages tend to lag behind enough it makes sense to setup a python environment which incorporates the latest updates. |
+ | |||
+ | === building an Ipython notebook environment === | ||
+ | |||
+ | Login to a corn and make yourself an Ipython environment in glusterfs | ||
+ | |||
+ | <source lang="sh"> | ||
+ | mkdir /mnt/glusterfs/$USER/Ipython | ||
+ | cd /mnt/glusterfs/$USER/Ipython | ||
+ | virtualenv --system-site-packages devbranch | ||
+ | devbranch/bin/pip install https://github.com/ipython/ipython/tarball/master | ||
+ | devbranch/bin/pip install tornado | ||
+ | devbranch/bin/pip install pyzmq | ||
+ | </source> | ||
+ | |||
+ | To run Ipython notebook environment, first start it up: | ||
+ | |||
+ | <source lang="sh"> | ||
+ | devbranch/bin/ipython notebook --pylab=inline --no-browser | ||
+ | </source> |
Revision as of 13:04, 22 October 2012
Ipython
Ipython provides both a command line and browser based (notebook) interfaces. The development is quite fast, so the distribution provided packages tend to lag behind enough it makes sense to setup a python environment which incorporates the latest updates.
building an Ipython notebook environment
Login to a corn and make yourself an Ipython environment in glusterfs
mkdir /mnt/glusterfs/$USER/Ipython cd /mnt/glusterfs/$USER/Ipython virtualenv --system-site-packages devbranch devbranch/bin/pip install https://github.com/ipython/ipython/tarball/master devbranch/bin/pip install tornado devbranch/bin/pip install pyzmq
To run Ipython notebook environment, first start it up:
devbranch/bin/ipython notebook --pylab=inline --no-browser