Skip to content

Problem with "vscode Getting Started" guide: quarto preview is not selecting correct interpreter, incorrectly claims python env is unactivated #5140

Answered by cderv
angelotrivelli asked this question in Q&A
Discussion options

You must be logged in to vote

First let me give a workaround that could unblock you: You can set the env var QUARTO_PYTHON to a specific python version to force Quarto to use that one. It you set the one from your virtual env, I think it should unblock you.

That is a workaround I used in the past in the context of this issue with pyenv #1463
It seems different for you as it seems quarto check now find pyenv, but I bet there is an issue in the detection process for virtual environmnent on Windows.

So seems like an issue to me and I need to look into it.

Replies: 6 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@cscheid
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@cscheid
Comment options

@mcanouil
Comment options

@angelotrivelli
Comment options

@cderv
Comment options

Answer selected by angelotrivelli
@angelotrivelli
Comment options

@cderv
Comment options

@angelotrivelli
Comment options

Comment options

You must be logged in to vote
2 replies
@cderv
Comment options

@jgomezdans
Comment options

Comment options

You must be logged in to vote
1 reply
@moneuron
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
python-setup Issues with Python's environment and setup
9 participants