quarto-emacs
quarto-emacs copied to clipboard
ModuleNotFoundError: No module named 'nbclient'
Hello and congratulations for your work
When I try to run quarto-preview
I get the error ModuleNotFoundError: No module named 'nbclient'
. But when I use the python mode, I can manage to do use the module without any problem.
Could you help me?
Regards
Hugo
It is likely this is related to the python environment that your instance of VS code is using (Quarto in VS Code will use the python environment that you have configured for VS Code). Can you see whether updating or changing that will get things going?
Thank you. I am actually using Emacs, so I don't know if VS code will cause the problem. But I will give it a try.
Ah, sorry, then you should definitely disregard what I wrote - that definitely will not help.
Ok. Thank you once again.
What's probably happening is that your emacs setup is probably missing some of the environment variables that you have configured for your shell. Try opening a shell inside emacs and inspecting the environment for differences.