404 GET
See original GitHub issue404 GET /nbextensions/widgets/notebook/js/extension.js?v=20170904163701
This error is driving me crazy! Uninstalled and reinstalled so many times. Definitely not being loaded via any jupyter config files. Are there any ipython config files that might be looking to load it on notebook load?
Also, there is no yaml spec, so the nbextensions_configurator from user-contrib is no help.
Any advice?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:30 (13 by maintainers)
Top Results From Across the Web
Error 404 not found - What does it mean & how to fix it! - IONOS
Something along the lines of '404 Not Found'. A 404 error is the standardized HTTP status code. The message is sent from the...
Read more >HTTP 404 - Wikipedia
In computer network communications, the HTTP 404, 404 not found, 404, 404 error, page not found or file not found error message is...
Read more >Error 404: 4 Ways to Fix It - Hostinger
Error 404 is a response code, meaning the server could not locate the requested content. Check this article to learn 4 steps to...
Read more >404 Page Not Found Error: What It Is and How to Fix It
A 404 error is an HTTP status code that means that the page you were trying to reach on a website couldn't be...
Read more >What Is a 404 Error? How to Deal With the Web Error
A 404 error indicates that the webpage you're trying to reach can't be found, and usually means that the page has moved or...
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
@ahmadia Yes, thanks, I just came here to post a similar solution!
For anyone who may come after me. I am not sure if all steps are required, but they helped me narrow down the possible problem sources. Pretty sure only step 7 as above. So, perhaps just moving files to backups is a more appropriate strategy and slowly adding them back to their proper paths, e.g.
mv ~/.jupyter ~/.jupyter.bak
is better thanrm ~/.jupyter
Uninstalled jupyter-contrib-nbextensions, ipywidgets, ipython_genutils, from the target conda environment. Uninstalled ipywidgets from everywhere, system, user, and sys-prefix.
Removed the jupyter_contrib_nbextensions config files (
common.json, edit.json, tree.json, terminal.json, notebook.json, jupyter_nvconver_config.json
) from/usr/local/share/jupyter/nbextensions
and/usr/local/share/jupyter/nbextensions
. Not sure the sub-directories, but a simplefind /usr -name "*.json"
should reveal them.Removed my
~/.jupyter
user config files in order to force use of the conda environment config files. Also made sure to target any extensions from the packages in 1 located in~/.local/share/jupyter/nbextensions
. I don’t have a~/.ipython
folder anymore, pretty sure that’s depricated, so that went too.Manually edited (because I have other extensions I wanted to keep) the conda env config files (same as in step 2) in
~/anaconda3/envs/myenv/etc/jupyter/nbconfig
to delete any reference to any of the jupyter-contrib-nbextensions or ipywidgets extensions, whether enabled or not. Watch out for trailing commas at the end of thejson
lists!Reinstall all the things!
conda install -c conda-forge jupyter_contrib_nbextensions ipywidgets
Enable jupyter_contrib_nbextensions things with
jupyter contrib nbextension install --sys-prefix
andjupyter nbextensions_configurator install --sys-prefix
(shouldn’t be needed, but doesn’t hurt)Enable ipywidgets as above with
jupyter nbextension enable --py --sys-prefix widgetsnbextension
. Pretty sure this was the magic step.Thanks @jasongrout for your pleasantly persistent help!
I had similar problems, I fixed it with the following command:
The sys-prefix seemed to fix whatever issue the conda installer is having in getting the nbextension to properly register the Javascript.