I am trying to create a Quarto Python document like this https://quarto.org/docs/computations/python.html#overview.
In the RStudio terminal I set QUARTO_PYTHON to use the correct python version.
quarto check
points to the right Python installation and Jupyter engine render.
But when I try to render the document, Quarto complains that Jupyter is not available and also points to the wrong Python installation. How can I fix this?