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.

interact() does not display interactive UI elements

See original GitHub issue

The primary issue is that the none of the interactive UI elements appear in the output cell (I’m executing a copy of the ipywidgets examples).

screen shot 2017-10-26 at 11 42 01 am

This is true whether I use a Python 2.7 or Python 3.6 kernel. I’ve tried re-installing ipywidgets and running jupyter nbextension enable --py widgetsnbextension w/ no effect.

It did initially work when running jupyter notebook from the ipywidgets examples directory locally.

…but after updating several packages via conda (jupyter, notebook, nbformat, et al) in attempts to resolve this issue this method too produces no interactive widgets in output cell.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
connerxyzcommented, Oct 27, 2017

@jasongrout that was the entire jupyter nbextension list output above.

Deleting /Users/me/.jupyter/nbconfig/notebook.json worked!

Cheers.

3reactions
jasongroutcommented, Oct 26, 2017

Assuming not, the first thing I’d do is to enable at the sys-prefix level: jupyter nbextension enable --sys-prefix --py widgetsnbextension. I’d probably also delete the user config file at /Users/me/.jupyter/nbconfig/notebook.json, if it didn’t have anything else in it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Interact — Jupyter Widgets 7.7.1 documentation
The interact function ( ipywidgets.interact ) automatically creates user interface (UI) controls for exploring code and data interactively. It is the ...
Read more >
IPython Notebook ipywidgets does not show - Stack Overflow
It was working for the past few days, until today, when I re-ran the notebook, the slide bar doesn't show anymore. No error...
Read more >
ipywidgets: Interactive Widgets in Jupyter Notebooks ...
Unlike interact() function, interactive() returns objects which does not displays widgets automatically. We need to use IPython function ...
Read more >
Creating Jupyter Notebook Widgets with interact
The Jupyter Notebook has a feature known as widgets. ... interactive and interact is that with interactive, the widgets are not displayed ......
Read more >
How to use ipywidgets to make your Jupyter notebook ...
Jupyter widgets can make notebooks be more interactive and make data exploration much easier ... These components allow a user to interact with...
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