Quarto uses wrong Python version? #3977
-
I installed quarto last week on two machines and it was working great. Now it still works on one machine but not on the other and I can not figure out what changed nor what is different. When I now call
which is ok in the sense as that Julia version I deleted in November when I switched to I have an Apple M1, so my usual Julia I would like to use (and do use on one machine) is the juliaup one – and Python installed via Conda.jl Any help how to narrow this down appreciated, since I really do not know how quarto switched to trying to use a version that I removed 3 months ago. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
...now I removed said Kernel, then it runs only with Python since there is no Julia left and the (Julia) code in the So if it works its great – if not (due to more than one Python version probably) – I could not find anything yet. |
Beta Was this translation helpful? Give feedback.
-
Can you run This should tell you which Python version is seen and used. Doc about selection is here : https://quarto.org/docs/computations/python.html#installation.
So your python found in PATH should be used ? What is on your PATH ? What does
You can always use this environment variable in a project to force Quarto to use a specific version for a project or for your system. Hope it helps narrow your configuration and what Quarto sees. Also updating Quarto can help in some situation as we fix issues over time. |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
Can you run
quarto check jupyter
in the same environment you are usingquarto render
?This should tell you which Python version is seen and used.
Doc about selection is here : https://quarto.org/docs/computations/python.html#installation.
From this doc:
So your python found in PATH should be used ? What is on your PATH ? What does
which python3
returns ?Using any tooling that put Python on PATH for a project would work with Quarto I believe.
You can always use this envir…