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

"Failed to load model class 'MPLCanvasModel' from module 'jupyter-matplotlib'" #7

Open
dmeliza opened this issue Feb 2, 2024 · 1 comment
Assignees
Labels

Comments

@dmeliza
Copy link
Member

dmeliza commented Feb 2, 2024

Students are encountering this error in notebook 1:

image

It appears to be related to a missing package, but reports are that a pip install of jupyter-matplotlib doesn't fix it.

@dmeliza dmeliza added the bug label Feb 2, 2024
@dmeliza dmeliza self-assigned this Feb 2, 2024
@dmeliza
Copy link
Member Author

dmeliza commented Feb 2, 2024

Waiting for students to send me their configurations, as I am unable to replicate the error. Here is my configuration:

(python -c "import sys; print('\n',sys.version); import ipympl; print('ipympl version:', ipympl.__version__)" && jupyter --version && jupyter nbextension list && jupyter labextension list)

 3.11.4 | packaged by conda-forge | (main, Jun 10 2023, 18:08:17) [GCC 12.2.0]
ipympl version: 0.9.3
Selected Jupyter core packages...
IPython          : 8.12.0
ipykernel        : 6.22.0
ipywidgets       : 8.0.6
jupyter_client   : 8.3.0
jupyter_core     : 5.3.1
jupyter_server   : 2.7.1
jupyterlab       : 3.6.3
nbclient         : 0.7.4
nbconvert        : 7.3.1
nbformat         : 5.9.2
notebook         : 6.5.4
qtconsole        : not installed
traitlets        : 5.9.0
Known nbextensions:
  config dir: /sfs/qumulo/qhome/cdm8j/.jupyter/nbconfig
    notebook section
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
  config dir: /apps/software/standard/core/jupyterlab/3.6.3-py3.11/etc/jupyter/nbconfig
    notebook section
      dash/main  enabled 
      - Validating: OK
      jupyter_resource_usage/main  enabled 
      - Validating: OK
      jupyterlab-plotly/extension  enabled 
      - Validating: OK
      voila/extension  enabled 
      - Validating: problems found:
        - require?  X voila/extension
      jupyter-js-widgets/extension  enabled 
      - Validating: OK
    tree section
      jupyter_server_proxy/tree  enabled 
      - Validating: OK
JupyterLab v3.6.3
/apps/software/standard/core/jupyterlab/3.6.3-py3.11/share/jupyter/labextensions
        jupyterlab-topbar-extension v0.6.1 enabled OK (python, jupyterlab-topbar)
        jupyterlab-system-monitor v0.8.0 enabled OK (python, jupyterlab-system-monitor)
        jupyterlab-plotly v5.16.1 enabled OK
        jupyterlab-nvdashboard v0.9.0 enabled OK (python, jupyterlab_nvdashboard)
        jupyterlab_pygments v0.2.2 enabled OK (python, jupyterlab_pygments)
        @voila-dashboards/jupyterlab-preview v2.3.1 enabled  X (python, voila)
        @jupyterhub/jupyter-server-proxy v4.0.0 enabled OK
        @jupyter-server/resource-usage v0.7.2 enabled OK (python, jupyter-resource-usage)
        @jupyter-widgets/jupyterlab-manager v5.0.8 enabled OK (python, jupyterlab_widgets)


"@voila-dashboards/[email protected]" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab                  Extension        Package
>=3.6.3 <3.7.0              >=4.0.0 <5.0.0   @jupyterlab/application
>=3.6.3 <3.7.0              >=4.0.0 <5.0.0   @jupyterlab/apputils
>=5.6.3 <5.7.0              >=6.0.0 <7.0.0   @jupyterlab/coreutils
>=3.6.3 <3.7.0              >=4.0.0 <5.0.0   @jupyterlab/fileeditor
>=3.6.3 <3.7.0              >=4.0.0 <5.0.0   @jupyterlab/mainmenu
>=3.6.3 <3.7.0              >=4.0.0 <5.0.0   @jupyterlab/notebook
>=3.6.3 <3.7.0              >=4.0.0 <5.0.0   @jupyterlab/settingregistry
>=3.6.3 <3.7.0              >=4.0.0 <5.0.0   @jupyterlab/ui-components
>=1.11.0 <2.0.0             >=2.0.0 <3.0.0   @lumino/coreutils
>=1.10.0 <2.0.0             >=2.0.0 <3.0.0   @lumino/signaling
>=17.0.1 <18.0.0            >=18.2.0 <19.0.0 react
>=17.0.1 <18.0.0            >=18.2.0 <19.0.0 react-dom


Other labextensions (built into JupyterLab)
   app dir: /sfs/applications/202312/software/standard/core/jupyterlab/3.6.3-py3.11/share/jupyter/lab
        @plotly/dash-jupyterlab v0.4.3 enabled OK

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

No branches or pull requests

1 participant