This post relates to using Julia with Jupyter on macOS.
I have previously had the official Julia-1.2.app installed. I have also had JuliaPro versions 1.2 and 1.4 installed. I decided I wanted to use both JupyterLab and the Juno IDE depending on what I was doing. I saw the bloat building in ~/.julia and ~/.juliapro (multiple GB each including stuff that I no longer wanted). I decided to save space and simplify my installation as well as de-link Julia from the Atom-Juno IDE of JuliaPro so that I could upgrade them separately instead of a bundle. I figured it should be possible to (1) install Julia.app, (2) install JupyterLab, (3) Install Atom with Juno (Julia) extensions, and (4) make Juno use the Julia binary inside Julia.app.
Until yesterday I had working versions of JupyterLab with Julia-1.2.app and JuliaPro 1.2 which I then upgraded to JuliaPro 1.4. That’s when I decided to simply my set-up.
What I did (aka what I screwed up)
After some fussing around I decided to remove all traces of Julia, JuliaPro including Juno, and JupyterLab from my machine and get a fresh start. I dug around the file system and trashed everything I could find. This includes but is not limited to:
- /Applications/JuliaPro-1.4.app or whatever JuliaPro calls their Mac app.
- Folder julia-1.4 (not sure where that one was)
- Folder Jupyter (not sure where this was either but it contained folder kernels which contained folder julia-1.4, folder nbconvert, and folder runtime.
(These items and others are currently in my Trash but the Put Back command is disabled for some of them.)
Then I did:
- I downloaded Julia-1.4.app and put it in /Applications.
- Started Julia 1.4 in a terminal and installed Conda.jl using the package manager.
- Installed JupyterLab using Conda.add(“jupyterlab”)
- Launched JupiterLab using
/Users/me/.julia/conda/3/bin/jupyter lab. (This has worked in the past on Julia 1.2 before I broke things.)
What happens now
The notebook launches into a recent version of Firefox as it did in the past. It opens a new untitled tab and presents the Select Kernel dialog with the pop-up to select a kernel. The options are Python 3 or No Kernel. No Julia option. The directory ~/.jupyter has been reconstituted but with less stuff in it compared to the one that I trashed. Also of course is a new ~/.julia.
How do I fix this?
I either want to try again deleting everything and trying another fresh installation but obviously I need to do something different this time, or figure out why JupyterLab is not finding a Julia kernel. Also, I want to continue my effort to later install Atom with the Juno extensions and connect it to the binary inside Julia-1.4.app.