3

I have installed Julia 1.5.3 on Ubuntu but IJulia falis with LoadError as shown in the screenshot.

The first path to the conda environment is very wrong, this is running on Ubuntu. The path shown below Precompliling is a WINDOWS path.

Where in the scripts can I correct this reference and allow IJulia to install ?

enter image description here

rj3838
  • 83
  • 5

1 Answers1

0

It looks like you have had an Anaconda installation that is not available anymore yet your paths are pointing to it. The best thing to do is to install an Anaconda inside Julia. This also works best in practice.

using Pkg
ENV["PYTHON"]=""
Pkg.add("PyCall")
Pkg.build("PyCall")
Pkg.add("Conda")
using Conda
Conda.runconda(`install jupyter --yes`) 
Pkg.build("IJulia")

Now your code will work.

using IJulia
notebook(dir=".")

Remember also to try Pluto Pkg.add("Pluto") - a new generation of notebooks for Julia.

Przemyslaw Szufel
  • 40,002
  • 3
  • 32
  • 62