404 error and no such comm target when trying to use ipywidgets
See original GitHub issueI installed ipywidgets 7.0.1 via conda into a conda root python3 environment. When starting a notebook, I get a 404 when trying to load the extension
404 GET /nbextensions/widgetsnbextension.js?v=20170918194201 (171.66.17.71) 3.38ms referer=<my nb server's host IP>/notebooks/<my notebook>.ipynb
Followed by an error from IPkernelApp when I try to create and show a widget
[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version
I shouldn’t have to manually enable the extension since I’m using conda, but I tried doing jupyter nbextension enable --py widgetsnbextension
anyway, which did not solve this.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:11 (5 by maintainers)
Top Results From Across the Web
No such comm target registered error in ipython - Stack Overflow
On my system I could make the error disappear by doing. conda install ipywidgets ... You may have to enable the extension using....
Read more >IPKernelApp Error and Warning - Jupyter Community Forum
I usually use the following command to start Jupyterlab: jupyter lab --no-browser ... [IPKernelApp] ERROR | No such comm target registered: ...
Read more >Problem with offline installation - Panel - HoloViz Discourse
Hi, I am using holoviews, panel, param and jupyter lab. ... [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control ...
Read more >IPKernelApp ERROR: No such comm target registered: jupyter ...
Cells 1 & 2 run fine. Cell 3 creates the widget and the widget seems to operate fine but the notebook and the...
Read more >Bug listing with status RESOLVED with resolution TEST ...
configure isn't using config options" status:RESOLVED ... ibm-jre-bin -> java-config: VM not found" status:RESOLVED resolution:TEST-REQUEST severity:normal ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
When starting a notebook, I get a 404 when trying to load the extension
I had exactly the same (and other) problem(s), however activating it didn’t help (“could not Validate”). This line solved it for me:
jupyter nbextension install --py widgetsnbextension --user
(I guess for your setup you should leave out the –user flag)
And then I did the activation step
jupyter nbextension enable --py widgetsnbextension
WIthin a day or two, we had identified and fixed the issue three years ago, as documented above and on #1721. Coming along and posting a snarky complaint three years later does not help move things forward for this issue or the community. We invite you to be uplifting and contribute to the solution, being respectful like everyone else on this issue, in the spirit of the code of conduct: https://github.com/jupyter/governance/blob/master/conduct/code_of_conduct.md#expected-behavior