Jupyter

From ArchWiki
Jump to: navigation, search

Jupyter is a browser-based interactive notebook for programming, mathematics, and data science. It supports a number of languages via plugins ("kernels"), such as Python, Ruby, Haskell, R, Scala and Julia.

Installation

To install Jupyter Notebook, install the jupyter-notebook, jupyter-nbconvert and python-ipywidgets packages.

Running

To start the notebook server, e.g. from a directory containing some .ipynb notebook files to be served, run:

$ jupyter notebook

Then open a browser and navigate to http://localhost:8888.

Kernels

Haskell

Install the ihaskell-gitAUR package. Then run ihaskell install.

Julia

Install the julia package and run julia to get a REPL prompt. Then run:

Pkg.add("IJulia")

See the Julia manual for more details on package management.

Python

Install the python2-ipykernel package for Python 2 support. Python 3 support (via python-ipykernel) is included when installing jupyter-notebook.

R

Follow the installation instructions in IR Kernel.

Sage math

Install the sagemath-jupyter package.

Octave

Install the jupyter-octave_kernelAUR package.