Jupyter

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

JupyterLab is "Jupyter’s Next-Generation Notebook Interface", while Jupyter Notebook is the original. See the Jupyter website for a comparison.

Installation

To install third-party Jupyter Notebook extensions for the current user, use the --user option while executing jupyter nbextension install. To do the same for installation of JupyterLab extensions, set the following environment variable:

JUPYTERLAB_DIR=$HOME/.local/share/jupyter/lab

and verify it by running jupyter lab paths. Then onwards follow usual installation instructions.

Running

To start JupyterLab run:

$ jupyter lab

To start Jupyter Notebook run:

$ jupyter notebook

Navigate to the URL given on the standard output if a web browser does not automatically open.

Kernels

C++

Install the cling-jupyter-gitAUR package.

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:

using Pkg
Pkg.add("IJulia")

See the Julia manual for more details on package management.

Python

Python 3 kernel is used by default via python-ipykernel.

Perl

Install kernel and run interactive perl shell at least once:

cpanm Devel::IPerl
iperl

Then press . Now if you run jupyter you will see perl there.

R

Follow the installation instructions in IR Kernel.

Rust

Install the package.

SageMath

Install the package.

Octave

Install the package.

Maxima

Install the maxima-jupyter-gitAUR package.

Cadabra

Install the package.

Kotlin

There is Kotlin Jupyter integration project.

Install Kotlin kernel with pip:

pip install kotlin-jupyter-kernel

The kernel is automatically bind to jupyter.

gollark: Fascinating. Where does Christianity say this?
gollark: Clearly not everyone wanting a unified world government can be the Antichrist. Unless the Antichrist can be multiple people simultaneously.
gollark: See, there's one Antichrist and many people wanting one world government.
gollark: But P(wants one world government | Antichrist) being high doesn't mean P(Antichrist | wants one world government) is.
gollark: Constant Craftsman, not you, I'm sure you have reasonable reasons to something something fluid dynamics.

See also

This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.