Quarto Julia CLI: Kernel died before replying to kernel_info

fortunewalla
Thu, 08 Dec 2022 08:53:48 +0000
New to Julia

I wanted to try out quarto for Julia code.

1. I created an new Julia environment q and installed IJulia.jl and Plots.jl

2. The jupyter kernelspec & quarto check all seem fine.

3. when trying to render Julia example Using Julia – Quarto it gives error message

C:\julia110>quarto render jex.qmd
Starting julia-1.10 kernel...ERROR:

Kernel died before replying to kernel_info

4. How do I make jupyter and quarto use IJulia from the q project environment from the CLI?

JUPYTER ERROR

:\julia110>jupyter notebook
I 15:34:19.098 NotebookApp] Serving notebooks from local directory: d:\sw\julia110
I 15:34:19.099 NotebookApp] Jupyter Notebook 6.4.0 is running at:
I 15:34:19.099 NotebookApp] http://localhost:8888/?token=388689f07367fe64f93c7c0ef28a25d996e9fe6079e69b25
I 15:34:19.100 NotebookApp]  or http://127.0.0.1:8888/?token=388689f07367fe64f93c7c0ef28a25d996e9fe6079e69b25
I 15:34:19.100 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
C 15:34:19.275 NotebookApp]

   To access the notebook, open this file in a browser:
       file:///C:/Users/julius/AppData/Roaming/jupyter/runtime/nbserver-29468-open.html
   Or copy and paste one of these URLs:
       http://localhost:8888/?token=388689f07367fe64f93c7c0ef28a25d996e9fe6079e69b25
    or http://127.0.0.1:8888/?token=388689f07367fe64f93c7c0ef28a25d996e9fe6079e69b25
I 15:34:32.208 NotebookApp] Creating new notebook in
I 15:34:42.668 NotebookApp] Kernel started: 8f1d47d2-550f-4529-9d1f-1f0a28489d22, name: julia-1.10
RROR: LoadError: ArgumentError: Package IJulia not found in current path.
 Run `import Pkg; Pkg.add("IJulia")` to install the IJulia package.
tacktrace:
[1] macro expansion
  @ .\loading.jl:1257 [inlined]
[2] macro expansion
  @ .\lock.jl:267 [inlined]
[3] require(into::Module, mod::Symbol)
  @ Base .\loading.jl:1238

KERNELSPEC LIST

C:\julia110>jupyter kernelspec list
Available kernels:
  julia-1.10             C:\Users\julius\AppData\Roaming\jupyter\kernels\julia-1.10
  wolframlanguage13.1    C:\Users\julius\AppData\Roaming\jupyter\kernels\wolframlanguage13.1
  python3                C:\python\app\python\share\jupyter\kernels\python3

QUARTO CHECK

C:\julia110>quarto check

[>] Checking Quarto installation......OK
      Version: 1.3.47
      Path: C:\quarto\bin
      CodePage: 65001

[>] Checking basic markdown render....OK

[>] Checking Python 3 installation....OK
      Version: 3.8.6
      Path: C:/python/App/Python/python.exe
      Jupyter: 4.7.1
      Kernels: julia-1.10, wolframlanguage13.1, python3

[>] Checking Jupyter engine render....OK

[>] Checking R installation...........OK
      Version: 4.2.2
      Path: C:/R-Portable/App/R-Portable
      LibPaths:
        - C:/R-Portable/App/R-Portable/library
      rmarkdown: 2.18

[>] Checking Knitr engine render......OK

8 posts - 3 participants