Julia 1.6.2 not appearing in Jupyter notebook

Viewed 1049

I have installed julia 1.6.2 , jupyter notebook and anaconda 3 according to this website:

https://datatofish.com/add-julia-to-jupyter/

I have also checked other websites and the steps of installation were similar. However, I have a problem in step 5 of the above link, as Julia 1.0 doesn't appear and only Python appears. ( Text File, Folder, and Terminal also appear in the Others section )

Any ideas on what the problem is? I have also set the environment variable of Julia by going to System Variables and adding the bin folder of julia to Path. ( Windows 10 OS)

Also, after installing Julia, these were the lines I entered to install other things.

import Pkg
# installs IJulia package
Pkg.add("IJulia")
using IJulia
# launch Jupyter notebook
notebook()

After these, I opened julia again and typed:

import Pkg
Pkg.add("NBInclude")
3 Answers

I had this issue also. To solve it, you just need to rebuild your IJulia kernel by running command below on Julia apps:

Using Pkg
Pkg.add("IJulia")
Pkg.build("IJulia")

I agree with the answer of @jling. Use an up-to-date julia version if you can. In case you need an old julia version, I have recently created a docker container that provides julia 1.1 inside jupyter notebooks (and I think python as well). You can find the Dockerfile here: https://github.com/cherrywoods/HorizontalCAS

Nevermind all the code, only the Dockerfile is relevant (and maybe the last section of the Readme). I guess this dockee fiöe should also work with julia 1.0 if you change the file accordingly.

Related