quarto-dev / quarto-dev/quarto

VSCode Quarto preview not picking up `venv`

Open
#406 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

I am building a quarto markdown using a virtual environment(venv). When I run quarto preview using the preview button, it opens up a new terminal(which does not have the virtual environment activated) and fails to render. It does work if I directly use the quarto preview command in the venv activated terminal. My assumption is that the preview button should also honor the virtual environment.

qv

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by opening a Quarto Markdown document in VSCode, using the preview button, and comparing it with quarto preview from an activated venv terminal. Trace the preview-button entry point and its new terminal environment; done means preview inherits the virtual environment and renders successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.