-
Hello, I have seen many similar discussions but have not really found a solution for my situation. I am on Linux (Pop!_OS) and quarto is installed on the system.
When I try to render a .qmd file, I get a
However,
I must note that I have installed jupyter in the system (in the past) as well as in this conda env. However, I think quarto is using the system kernel because the one of the conda env is not even listed in
For the record, in VS Code, with the conda environment activated there, I can interactively run all the cells with no problem and the seaborn module is correctly loaded. However, clicking on the
Thanks is advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Without a "not working" reproducible example, it's going to be hard or likely impossible to help. Could you also double check that you followed documentation on using Conda with Quarto? See https://quarto.org/docs/projects/virtual-environments.html#using-conda. |
Beta Was this translation helpful? Give feedback.
Thanks for the tips!
I have realized what I think is the source of the problem. The whole project directory (and as such, the directory where the conda env was created) is mounted on my local computer with sshfs. It seems that even though
quarto check
seems to correctly detect the python and jupyter in that conda env, when it comes to rendering it reverts to using my system-wide python and jupyter (where seaborn is not available).When I clone this conda environment to another local location (not sshfs-mounted) and activate that one instead for rendering, then things work as expected.
I imagine this behavior is expected in this scenario.
Since this is a discussion, I'd appreciate your tak…