quarto-nvim
quarto-nvim copied to clipboard
Error E79 when running QuartoPreview and wrong Python being used
I have two issues. I have setup my quarto configuration by copying quarto.lua from the kickstarter configuration. When I run QuartoPreview I get the following error:
E79: Cannot expand wildcards
The other issue is that the plugin appears to be using the wrong python environment. I have a custom environment in venv that I activate before starting nvim. But when I quite nvim I get a bunch of error messages like this:
Starting python3 kernel...Traceback (most recent call last):
3 File "/Applications/quarto/share/jupyter/jupyter.py", line 21, in <module>
4 from notebook import notebook_execute, RestartKernel
5 File "/Applications/quarto/share/jupyter/notebook.py", line 15, in <module>
6 from yaml import safe_load as parse_string
7 ModuleNotFoundError: No module named 'yaml'
8 Python 3 installation:
9 Version: 3.10.12 (Conda)
10 Path: /opt/homebrew/Caskroom/mambaforge/base/bin/python
11 Jupyter: (None)
12
13 Jupyter is not available in this Python installation.
14 Install with conda install jupyter
This is the wrong python environment but I cannot figure out how to get it to use the right one.
EDIT: I should mention that I am on Mac.