Kernel error when launching jupyter notebook after new julia install

Hi there,

I used to have my julia install directories (julia-1.5.2, 1.6.0, …, 1.7.2) right under my home directory, in a Ubuntu desktop. Today I decided to move these directories to a brand-new directory, called julia, under my home directory and to also install there the latest release, 1.7.3. After that, when I issue:

julia> using IJulia
julia> notebook(detached=true)

and choose an old notebook (which used to run fine under some of the previous releases/kernels), the jupyter interface launches a Kernel error:

FileNotFoundError: [Errno 2] No such file or directory: '/home/orca/julia-1.6.2/bin/julia

Any suggestions?
I have already tried to (re)build IJulia, but without any success…

Have you rebuilt IJulia from all old Julia versions? You can do

julia> readdir(IJulia.kerneldir(); join = true)
1-element Vector{String}:

To check what kernels are installed, and check the JSON files in those folders to see the config, including location of the Julia executable, for each kernel.

1 Like