Skip to content

Output widget does not show in Jupyterlab #1912

@dionhaefner

Description

@dionhaefner

In Jupyterlab,

import ipywidgets as widgets
widgets.Output()

gives

Error displaying widget

and writes the following to the console:

Could not instantiate widget           manager-base.js:272
Error: Could not create a model.
Stack trace:
xj6n/t.reject/<@<snip>/lab/static/main.3da2a829f205f34a09fd.js:1:1483118           utils.js:119
Error displaying widget           renderer.js:84
Module @jupyter-widgets/output, semver range 1.1.0 is not registered as a widget module           renderer.js:85
Error: Object 'jupyter.widget' not found in registry           default.js:1443
uncaught exception: Module @jupyter-widgets/output, semver range 1.1.0 is not registered as a widget module
Error: Object 'jupyter.widget' not found in registry

All other widgets I have tried work just fine.

pip show jupyterlab ipywidgets:

Name: jupyterlab
Version: 0.31.1
Summary: The JupyterLab notebook server extension.
Home-page: http://jupyter.org
Author: Jupyter Development Team
Author-email: jupyter@googlegroups.com
License: BSD
Location: /opt/conda/lib/python3.6/site-packages
Requires: notebook, jupyterlab-launcher, ipython-genutils
---
Name: ipywidgets
Version: 7.1.0
Summary: IPython HTML widgets for Jupyter
Home-page: http://ipython.org
Author: IPython Development Team
Author-email: ipython-dev@scipy.org
License: BSD
Location: /opt/conda/lib/python3.6/site-packages
Requires: ipython, nbformat, ipykernel, traitlets, widgetsnbextension

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolved-lockedClosed issues are locked after 30 days inactivity. Please open a new issue for related discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions