question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ipywidgets not showing GUI

See original GitHub issue

Hi, I still got the issue after I ran jupyter labextension install @jupyter-widgets/jupyterlab-manager.

Initially, I came across some problems using tqdm_notebook in jupyterlab. After googling the problems, someone say it may be something wrong with ipywidgets. They basically suggest that running jupyter labextension install @jupyter-widgets/jupyterlab-manager. So I did, but it doesn’t work either for tqdm_notebook or ipywidgets. The following pic may present my problems.

image

image

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:22 (8 by maintainers)

github_iconTop GitHub Comments

12reactions
Gabrielvoncommented, Mar 15, 2019

Hi, I have been through this problem every time I reinstall my virtual ubuntu which is managed by my IT colleagues.

After a few research according to my limited knowledge in this area, I figured out the following command lines that may helps likely, though I don’t really understand some of the tools. I don’t know if this helps, any guidance to improve these command (such as remove unnecessary lines) are appreciate.

Relative version info: image

## Initial Updates
cd ~
apt-get update -y && apt-get upgrade -y
pip install --upgrade pip

## Jupyter labextension
apt-get -y install npm nodejs
apt remove cmdtest
apt remove yarn
npm install -g npm yarn
pip install ipywidgets
jupyter nbextension enable --py widgetsnbextension
jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter lab build

Remember to refresh your page in the browser. Wish this helps.

3reactions
tannertcommented, Oct 11, 2018

I’m also getting this error in Amazon Sagemaker. Here’s what the console looks like:

default.js:1432 Uncaught (in promise) Error: Object 'jupyter.widget' not found in registry
    at default.js:1432
    at new Promise (<anonymous>)
    at Object.C [as loadObject] (default.js:1411)
    at e._handleCommOpen (default.js:920)
    at WebSocket._onWSMessage (default.js:136)```
Read more comments on GitHub >

github_iconTop Results From Across the Web

IPython Notebook ipywidgets does not show - Stack Overflow
No error messages appear. The code seem to run just fine, as the table appears, but the slide bar just doesn't appear. I...
Read more >
install ipywidgets - Read the Docs
No information is available for this page.
Read more >
Jupyter Notebook - IPyWidgets - Tutorialspoint
This widget is useful to display non editable text in the notebook. display(). This function from ipywidgets module renders the widget object in...
Read more >
3.3. Mastering widgets in the Jupyter Notebook
The ipywidgets package provides many common user interface controls for exploring code and ... as plt from IPython.display import display %matplotlib inline.
Read more >
The 2 alternative approaches for Jupyter Notebook widgets
The Jupyter notebooks provide great flexibility for developing Python programs ... Not, yet, the last step is to display widgets and output:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found