quarto-dev / quarto-dev/quarto

Quarto installed via conda can't see jupyterlab and does not work with the vscode extension

Open
#341 11 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

It seems like quarto installed via conda does not recognize jupyter/jupyterlab installation in the same environment. See screenshot:

image

I have seen that I can set the QUARTO_PYTHON env variable but I would like quarto to automatically use the python version in the conda env where quarto is installed (ie read path instead of setting its own python version)


It also seems like VScode cannot detect this version of quarto although I have specified the full path in the settings:

image

When I try to render, it says "quarto not found".

image

I can work around this issue by launching vscode from a terminal where the conda env has already been activated but that seems to be defeating the purpose of having the setting to set the explicit quarto path

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 issue with Quarto installed in a conda environment, with Jupyter or JupyterLab present, then render through the VS Code extension using its explicit Quarto path. Compare behavior with VS Code launched from an activated environment. Done means Quarto finds the environment's Python and the extension detects and renders with the configured installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.