Replies: 1 comment 9 replies
-
There is a way with virtual to make Quarto use the python version from an active env. I don't think we have that for Conda, and we should definitely have it by checking active Otherwise, the way to tell Quarto to use a version of Python without looking for it is to set |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I have a lot of conda kernels that do some fairly weird stuff. For example, one automatically opens an SSH tunnel to a cluster and starts a very specific version of python there to use as the kernel. I don't want to use that kernel to build my quarto files (especially because it fails when I'm not connected to the internet), but that's actually the one that quarto selects somehow. I have a vanilla kernel that I use for most of my work that I'd prefer to use by default, but I can't see how to make that happen. I've read the docs, but don't see anything relevant — even to explain how quarto is choosing what it's choosing.
I've also seen this discussion about global defaults. The main reasoning against having such things appears to be
But if I want other people to reproduce my document, being able to use a vanilla kernel would actually improve their chances. On the other hand, having to specify the
jupyter
metadata option makes it less reproducible.Is there a good way to handle this? Or is there at least some consistent way quarto is selecting the kernel to use?
Beta Was this translation helpful? Give feedback.
All reactions