Open ifateri opened 1 year ago
I encountered a similar issue, and I solved it, or I think so, by
conda
env, qmd
file, and qmd
file via quarto preview hello.qmd
with the newly created conda
env activated.Hope this helps.
@ifateri Did you solve your problem? Do you still have the issue with Quarto 1.3?
@hopezh Are you suggesting/saying, the issue comes from the Python environment?
@mcanouil I'm not sure if it's related to the specific "messy" Python environment I have. I just know that I'll have this problem if I use the base
environment of conda
even if it has all the modules installed.
Would you be able to give the steps to reproduce the issue?
Bug description
Hello,
I've been working on a qmd file with Python only in VS Code (Windows 10.0.19044) for quite some time, but am suddenly running into
ModuleNotFoundError
errors when trying to render the qmd file (either via button or via terminal withquarto render file.qmd
) despite no changes in my project folder.I've noticed that pressing the render button starts either
quarto render file.qmd
orquarto preview file.qmd
and I don't understand why this is or when to expect which command.Strangely if I manually run
quarto preview file.qmd
via terminal it seems to fully render the report and after that I can use the render button and the manual render command?Edit: it seems to be quite random as
quarto preview
can also lead to the error..?quarto check
Outputquarto tools check
OutputChecklist
quarto check
in the "Quarto Check Output" text area?quarto tools check
in the "Quarto Tools Check Output" text area?