Skip to content

how to set the python kernel for quarto #12506

Closed Answered by mcanouil
biscotty666 asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know how your environments are activated but I believe the issue is there.

You could use QUARTO_PYTHON environment variable to force Quarto to use whatever version you want.
This is also documented on the same page by the way: https://quarto.org/docs/computations/python.html#installation

And check your PATH. I bet you have multiple paths to Python binary in it (which is bad).

Quarto will select a version of Python using the Python Launcher on Windows or system PATH on MacOS and Linux. You can override the version of Python used by Quarto by setting the QUARTO_PYTHON environment variable.

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@biscotty666
Comment options

@mcanouil
Comment options

mcanouil Apr 9, 2025
Collaborator

@biscotty666
Comment options

@mcanouil
Comment options

mcanouil Apr 9, 2025
Collaborator

Answer selected by biscotty666
@biscotty666
Comment options

@cderv
Comment options

@biscotty666
Comment options

@cderv
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants