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

Can't use nbconvert 7.16.4 with JupyterLab v4.2.2 #2157

Closed
Mad31 opened this issue Jun 19, 2024 · 2 comments
Closed

Can't use nbconvert 7.16.4 with JupyterLab v4.2.2 #2157

Mad31 opened this issue Jun 19, 2024 · 2 comments

Comments

@Mad31
Copy link

Mad31 commented Jun 19, 2024

I have a jupyterlab 4.2.2 with notebook 7.2.1.

When i try jupyter nbconvert --to html notebook.ipynb i have an error : ModuleNotFoundError: No module named 'notebook.services.

When i ask upyter server extension list,i can see :
nbconvert enabled - Validating nbconvert... Extension package nbconvert took 0.1195s to import X validation failed

need help,
thx

@emmaai
Copy link

emmaai commented Aug 5, 2024

It's working with notebook < 7. However, notebook<7 got schema issue, which is not compatible with jupyterlab_server==2.27.3. Mark to follow up with this issue.

@krassowski
Copy link
Member

This looks like an issue in jupyter_contrib_nbextension, not in nbconvert itself. There is no import of notebook.services in nbconvert codebase (see https://github.com/search?q=repo%3Ajupyter%2Fnbconvert%20notebook.services&type=code). Closing as a duplicate of #2189.

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