quarto render fails with vscode and python venv
Quarto 1.4.5 in VS Code, Python 3.11 in a local venv (.venv). quarto render report.qmd works from the terminal where I activated the venv, but when I hit the Render button in VS Code it uses a different Python (3.10 system) and fails with 'ModuleNotFoundError: No module named pandas'. I've set the interpreter in VS Code to the venv. Do I need to configure Quarto to use the same Python? Is there a _quarto.yml setting or environment variable? Also is there a way to make the render reproducible so a teammate gets the same environment?
4 replies