Installing IJulia

Luckily, that part is easy. There are several ways to do it, but I think the easiest is:

  • install Conda with Anaconda | Anaconda Distribution
  • Go into your Julia terminal and type ] add IJulia
  • Then you should be able to run jupyter lab on your desktop terminal and you will be running

Alternatively, if you don’t want to install conda you can follow instructions in https://github.com/JuliaLang/IJulia.jl

Out of curiosity, what language did you come to Julia from? I am curious of your mental model of global variables.

Sorry for slightly hijacking the thread, but as I understand it it’s not necessary to download all of anaconda to run IJulia?

The first run of the IJulia noteboook automatically installs miniconda, or alternatively if a user already has anaconda or some other Jupyter instance installed, they can tell IJulia to use that with ENV["JUPYTER"]

1 Like

For sure, https://github.com/JuliaLang/IJulia.jl has those kinds of instructions. I think installing conda is the most idiot proof (and the easiest to manage conda upgrades, etc) but it is not necessary

1 Like

Not sure I agree - unless I’m misunderstanding something, installing conda will not change the fact that when you do using IJulia; notebook() for the first time, IJulia will install its own, private miniconda version, and run notebooks through the jupyter in that miniconda.

The way to change this is to follow the instructions you link to around setting the python/jupyter environment variables, but if anything that seems to me to be less idiot proof and more prone to breakages than having IJulia and Conda.jl manage everything for you in the background.

1 Like