Skip to content

Installation fails on up-to-date JupyterLab installed with conda -c conda-forge #1650

Open
@janpfeifer

Description

@janpfeifer

I have a pretty vanilla installation of JupyterLab, and when, following the install instrunctions, I run

conda install -c conda-forge jupyter_contrib_nbextensions

It fails with the following output:

Preparing transaction: done                    
Verifying transaction: done                                                                    
Executing transaction: - Traceback (most recent call last):                                    
  File "/opt/janpf/miniconda3/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 6, in <module>                                                          
    from notebook.extensions import BaseExtensionApp                                                                                                                                           
ModuleNotFoundError: No module named 'notebook.extensions'

During handling of the above exception, another exception occurred:                                                                                                                            
                                                                                                                                                                                               
Traceback (most recent call last):
  File "/opt/janpf/miniconda3/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 10, in <module>
    from notebook.nbextensions import BaseNBExtensionApp                                                                                                                                       
ModuleNotFoundError: No module named 'notebook.nbextensions'
                                                                                               
During handling of the above exception, another exception occurred:
                                                                                               
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/opt/janpf/miniconda3/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/nbextensions.py", line 12, in <module>
    from ._compat.nbextensions import BaseNBExtensionApp
  File "/opt/janpf/miniconda3/lib/python3.10/site-packages/jupyter_contrib_core/notebook_compat/_compat/nbextensions.py", line 35, in <module>
    from notebook.nbextensions import (
ModuleNotFoundError: No module named 'notebook.nbextensions'       

...

And so on ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions