I just installed the latest version of Julia (1.8.1). I set it so that is the version that is run when I write “julia” in my terminal (I am on Ubuntu).
However, now when I open my previous (1.7.3) Julia notebooks, they all use version 1.81 (causing crashes). I create a new 1.7.3 notebook, and even if it is marked as 1.7.3, it still runs in version 1.8.1:
Does your 1.7.3 kernel start the right julia binary?
You should have files for your jupyter kernels, perhaps in /home/user/.local/share/jupyter/kernels/.../kernel.json, that tell jupyter how to start the kernel.
which refers to a julia-executable /home/johan/Julia/julia-1.7.2/bin/julia.
If your kernel.json for the kernel that is named 1.7.3 refers to the correct binary file, then I do now know what might be the reason for your problem.
where /opt/julia/bin/julia is where I put the julia binary on the new installation when I run “julia” in the terminal. Just manually changing this to somewhere where I have a julia 1.7.3 binary should solve it, right?
That sounds reasonable to me, but I have never tried that. I install several versions of julia and run IJulias installkernel from my julia-versions to let them install jupyter kernels.