quarto-dev / quarto-dev/quarto-cli

Error finding numpy in vs code

Open
#1,133 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-repro python-setup stale
Dominant language
JavaScript
Stars
6k
Forks
458
Avg merge
1d 9h
Merged PRs (30d)
41

Description

Bug description

My issue is that quarto cannot found numpy package if the file is rendered in vs code. Works perfectly RStudio, or if a cell is simple ran, but fails if I try to render the file. I enclose a pic about the error message.

2022-06-11_23 32 26

Checklist
  • formatted your issue so it is easier for us to read?
  • included a minimal, self-contained, and reproducible example?
  • documented the quarto version you're running, by providing the output produced by quarto check in a terminal in your issue?
  • documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • documented which operating system you're running? If on Linux, please provide the specific distribution as well.
  • upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?

Contributor guide

Open the contributing guide

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

No source files or tests are identified in the issue. First reproduce the difference between running a cell and rendering the file in VS Code, then collect the Quarto version and environment details requested by the checklist; done means rendering can locate and use numpy in VS Code as it does in RStudio.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python, vscode
Domain
cli, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.