# Still not able to render a Quarto file (qmd) using Julia in VSCode. Help?

**URL:** <https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701>\
**Category:** General Usage\
**Tags:** jupyter, ijulia, quarto\
**Created:** [May 11, 2023, 9:06pm UTC](https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701 "2023-05-11T21:06:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hugo](https://avatars.discourse-cdn.com/v4/letter/h/b38774/32.png) [@Hugo](https://discourse.julialang.org/u/Hugo)\
**Post date:** [May 11, 2023, 9:06pm UTC](https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701/1 "2023-05-11T21:06:53Z")

</div>

My questions is basically a follow up to a very similar question you can find [here](https://discourse.julialang.org/t/jupyter-kernel-not-found-when-rendering-with-quarto/86205).

I have:

- run `Pkg.build("IJulia")`,
- removed and reinstalled `IJulia`, and then built the package again,
- removed the `Jupyter` extension and reinstalled it
- Re-followed the steps at [using Quarto with Julia](https://quarto.org/docs/computations/julia.html)

But nothing has worked. I still can’t render a `.qmd` file when I am using `Julia` in VSCode. Here’s the error message I get.

```julia
ERROR: Jupyter kernel 'julia-1.8' not found.

```

Here’s the information about my Julia version

```julia
Julia Version 1.8.5
Commit 17cfb8e65e (2023-01-08 06:45 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 16 × Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
  Threads: 1 on 16 virtual cores        
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS =

```

Any idea of what I can do solve this?

---

<div class="post-metadata">

**Author:** ![dmbates](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmbates/32/44_2.png) [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Post date:** [May 11, 2023, 9:28pm UTC](https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701/2 "2023-05-11T21:28:30Z")

</div>

Try running

```julia
quarto check

```

to see what versions of Python and Jupyter are being used by Quarto.

Often there will be a default version of Python on the system and it doesn’t see the version that IJulia is using.

---

<div class="post-metadata">

**Author:** ![Hugo](https://avatars.discourse-cdn.com/v4/letter/h/b38774/32.png) [@Hugo](https://discourse.julialang.org/u/Hugo)\
**Post date:** [May 11, 2023, 9:39pm UTC](https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701/3 "2023-05-11T21:39:49Z")

</div>

Hi, @dmbates

Here’s the answer I got after running `quarto check`. The two checks return `OK`, but there’s also an error. Do you know how I should proceed?

```julia
[>] Checking Quarto installation......OK
      Version: 1.2.335
      Path: C:\Users\hsd36\AppData\Local\Programs\Quarto\bin
      CodePage: 1252

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

ERROR: The file cannot be accessed by the system. (os error 1920), stat 'C:\Users\hsd36\AppData\Local\Microsoft\WindowsApps\python3.9.exe'

```

---

<div class="post-metadata">

**Author:** ![dmbates](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmbates/32/44_2.png) [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Post date:** [May 14, 2023, 3:31pm UTC](https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701/4 "2023-05-14T15:31:38Z")

</div>

Here is the result from `quarto check` for me

```julia
% quarto check

[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.1: OK
      Dart Sass version 1.55.0: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.3.340
      Path: /Applications/quarto/bin

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

[✓] Checking Python 3 installation....OK
      Version: 3.10.11 (Conda)
      Path: /usr/local/bin/python3
      Jupyter: 5.3.0
      Kernels: julia-1.9, python3

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

[✓] Checking R installation...........OK
      Version: 4.2.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library
      knitr: 1.42
      rmarkdown: 2.21

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

```

so you can see that for me there is a Python 3 installation with Jupyter and two Jupyter kernels.

If you already have the IJulia package installed then you should have a python3 and jupyter executable in the directory created by the Conda package. On Mac and Linux systems this directory is `~/.julia/conda/3/bin/` I’m not sure what it is on Windows - perhaps someone can tell us.

Quarto looks for a python3 executable and tries to run Jupyter with that. What I do on this system is to create a symbolic link to `~/.julia/conda/3/bin/python3` in `/usr/local/bin` so it is on the usual search path. Others might have more elegant solutions, especially for Windows.

```julia
dmbates@Douglass-MBP ~ % which python3
/usr/local/bin/python3
dmbates@Douglass-MBP ~ % ls -la `which python3`
lrwxr-xr-x 1 root wheel 41 Dec 30 10:47 /usr/local/bin/python3 -> /Users/dmbates/.julia/conda/3/bin/python3

```

---

<div class="post-metadata">

**Author:** ![Gunty](https://avatars.discourse-cdn.com/v4/letter/g/7ea924/32.png) [@Gunty](https://discourse.julialang.org/u/Gunty)\
**Post date:** [May 22, 2023, 12:47am UTC](https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701/5 "2023-05-22T00:47:10Z")

</div>

Can you execute Julia code blocks in your Quarto file (“Run Cell”)? Can you start the Julia REPL in VS Code?

If not, check the Julia Executable Path setting in the VS Code Julia extension.

---

<div class="post-metadata">

**Author:** ![math4mad](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/math4mad/32/49486_2.png) [@math4mad](https://discourse.julialang.org/u/math4mad)\
**Post date:** [May 22, 2023, 6:30am UTC](https://discourse.julialang.org/t/still-not-able-to-render-a-quarto-file-qmd-using-julia-in-vscode-help/98701/6 "2023-05-22T06:30:07Z")

</div>

I suggestion two step check

1. IJulia installation

follow Instruction [Julia in Quarto](https://quarto.org/docs/computations/julia.html)

```julia
using Pkg
Pkg.add("IJulia")
using IJulia
notebook()

```

open a new Jupyter note on your browser. then check your Julia version on dropdown menu **New**

 ![screenshot_1224](https://global.discourse-cdn.com/julialang/original/3X/9/7/979dd81d814d490ee65c719352b52d891a787445.jpeg)

1. if you add header on qmd file, please notice not add patch version number

```julia
---
title: "StatsPlots Demo"
jupyter: julia-1.7
---

```

`jupyter: julia-1.7` just major and minor number , not include patch number
