- Notifications
You must be signed in to change notification settings - Fork418
JuliaLang/IJulia.jl
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
IJulia is aJulia-language backendcombined with theJupyter interactiveenvironment (also used byIPython). Thiscombination allows you to interact with the Julia language usingJupyter/IPython's powerfulgraphicalnotebook, which combines code,formatted text, math, and multimedia in a single document.IJulia is a Jupyter language kernel and works with a variety of notebookuser interfaces. In addition to the classic Jupyter Notebook, IJuliaalso works withJupyterLab, a Jupyter-basedintegrated development environment for notebooks and code.Thenteract notebook desktop supports IJulia withdetailed instructions for itsinstallation with nteract.
(IJulia notebooks can also be re-used in other Julia code viatheNBInclude package.)
Install IJulia from the Julia REPL by pressing]
to enter pkg mode and entering:
add IJulia
If you already have Python/Jupyter installed on your machine, this process will also install akernel specificationthat tells Jupyter how to launch Julia. You can then launch the notebook server the usualway by runningjupyter notebook
in the terminal.
Note thatIJulia
should generally be installed in Julia's global package environment, unless youinstall a custom kernel that specifies a particular environment.
Alternatively, you can have IJulia create and manage its own Python/Jupyter installation.To do this, type the following in Julia, at thejulia>
prompt:
using IJulianotebook()
to launch the IJulia notebook in your browser.The first time you runnotebook()
, it will prompt youfor whether it should install Jupyter. Hit enter tohave it use theConda.jlpackage to install a minimal Python+Jupyter distribution (viaMiniconda) that isprivate to Julia (not in yourPATH
).
For more advanced installation options, such as specifying a specific Jupyterinstallation to use, see thedocumentation.
About
Julia kernel for Jupyter