Replies: 3 comments 13 replies
-
Beta Was this translation helpful? Give feedback.
-
Hi @Walser52
in your case you created an virtual env
as per multiple kernels https://ipython.readthedocs.io/en/stable/install/kernel_install.html#kernels-for-different-environments
in your MVE try |
Beta Was this translation helpful? Give feedback.
-
I am noticing your are using Conda here. Why not follow the conda version of the virtualenv documentation ? I wonder if we could haven't a specific implementation in Quarto that conflicts with using both conda and not conda. 🤔 To check what python version is really used in the chunk of you document, you could render a document with your ---
title: "Website"
---
```{python}
import sys
sys.prefix
``` It should be the path of you venv
Then I created the So I believe Quarto does what it is supposed to do... unless there is a edge case because of some mixed configuration. hence my question about Conda in the first place. Also, please confirm this is all happening inside Terminal only - if some of your feedback are happening in VSCODE only for example, this could be different as the IDE itself could modify the python interpreter used. Hope it helps you help us. Thanks. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'm having a hard time figuring this out so please be gentle :). Essentially I am having trouble using virtual environments.
quarto check jupyter
. Got:Created a
venv
by following the documentation i.e.python3 -m venv env
source env/bin/activate
python3 -m pip install jupyter matplotlib pandas
Terminal prompt gets an (env) label. Doing
quarto check jupyter again
changes the pathindex.qmd
, I do a simple:My Quarto version is 1.3.433
Would appreciate any help on how to diagnose it. Ultimately I want to bind a virtual environment seamlessly to a project.
Beta Was this translation helpful? Give feedback.
All reactions