Configure your system to evaluate external Julia code.

For Mac...

Install Julia

Julia can be installed for Mac through a package repository such as Homebrew, or by using the installer downloaded from https://julialang.org/downloads.

Install required Julia packages

Install the ZeroMQ, BSON, and Dates packages for Julia using the Julia package manager, Pkg. Start a Julia session and execute the following:

julia> using Pkg

julia> Pkg.add("ZMQ")

julia> Pkg.add("BSON")

Verify the installation

If the installation was successful, FindExternalEvaluators will find it automatically:

  • If you have more than one version of Julia installed on your machine, you can use RegisterExternalEvaluator to make a specific installation of Julia the default.

Evaluate Julia code

Use ExternalEvaluate with the Julia installation to evaluate Julia code:

Alternatively, use a Julia code cell to evaluate Julia code:

sqrt(36)
  • If ExternalEvaluate fails, it is likely that the ZMQ and JSON packages are not installed. Make sure you install the packages with the specific installation of Julia that you would like to use.

For Windows...

Install Julia

Download the Julia installer at https://julialang.org/downloads and run the resulting executable file.

Install required Julia packages

Install the ZeroMQ, BSON, and Dates packages for Julia using the Julia package manager, Pkg. Start a Julia session and execute the following:

julia> using Pkg

julia> Pkg.add("ZMQ")

julia> Pkg.add("BSON")

Verify the installation

If the installation was successful, FindExternalEvaluators will find it automatically:

  • If you have more than one version of Julia installed on your machine, you can use RegisterExternalEvaluator to make a specific installation of Julia the default.

Evaluate Julia code

Use ExternalEvaluate with the Julia installation to evaluate Julia code:

Alternatively, use a Julia code cell to evaluate Julia code:

sqrt(36)
  • If ExternalEvaluate fails, it is likely that the ZMQ and JSON packages are not installed. Make sure you install the packages with the specific installation of Julia that you would like to use.

For Linux...

Install Julia

Julia is available from most Linux package repositories such as APT or Yum, or you can download it from https://julialang.org/downloads. Detailed installation instructions can be found at that page.

Install required Julia packages

Install the ZeroMQ, BSON, and Dates packages for Julia using the Julia package manager, Pkg. Start a Julia session and execute the following:

julia> using Pkg

julia> Pkg.add("ZMQ")

julia> Pkg.add("BSON")

Verify the installation

If the installation was successful, FindExternalEvaluators will find it automatically:

  • If you have more than one version of Julia installed on your machine, you can use RegisterExternalEvaluator to make a specific installation of Julia the default.

Evaluate Julia code

Use ExternalEvaluate with the Julia installation to evaluate Julia code:

Alternatively, use a Julia code cell to evaluate Julia code:

sqrt(36)
  • If ExternalEvaluate fails, it is likely that the ZMQ and JSON packages are not installed. Make sure you install the packages with the specific installation of Julia that you would like to use.