Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'nbclient' #16

Open
hugo-pires opened this issue Dec 29, 2022 · 5 comments
Open

ModuleNotFoundError: No module named 'nbclient' #16

hugo-pires opened this issue Dec 29, 2022 · 5 comments

Comments

@hugo-pires
Copy link

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

@dragonstyle
Copy link

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?

@hugo-pires
Copy link
Author

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.

@dragonstyle
Copy link

Ah, sorry, then you should definitely disregard what I wrote - that definitely will not help.

@hugo-pires
Copy link
Author

Ok. Thank you once again.

@cscheid
Copy link
Contributor

cscheid commented Dec 30, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants