Using Julia From Jupyter

May 5, 2019
Less than one minute.

For Jupyter you want Python 3.7. Mac comes with 2.7 by default. To switch environments install Anaconda and then Jupyter itself:

> brew cask install anaconda
...
> brew postinstall python3
...
> brew install jupyter
...

To use Julia inside Jupyter you need to have Julia itself installed locally, if you don’t then install it with Homebrew:

> brew cask install julia
...

To link it up then go into the Julia REPL julia and then import the IJulia package:

julia> import Pkg; Pkg.add("IJulia")

Then should then be able to run Jupyter jupyter notebook and Julia will be amongst the options when creating a new notebook.

Using Julia From Jupyter - May 5, 2019 - John Hearn