Widget Javascript not detected
See original GitHub issuedebugging from notebook
from jupyter_core.paths import jupyter_config_path, jupyter_data_dir, jupyter_runtime_dir, jupyter_path
import jupyter_core.version
!echo !jupyter --version and --path
!jupyter --version
!jupyter --path
!echo
!echo !cat /usr/etc/jupyter/nbconfig/notebook.json
!cat /usr/etc/jupyter/nbconfig/notebook.json
!echo
!echo !ls /usr/local/share/jupyter/nbextensions/jupyter-js-widgets
!ls /usr/local/share/jupyter/nbextensions/jupyter-js-widgets
!echo
print('version:', jupyter_core.version.__version__)
for p in jupyter_config_path():
print('config:', p)
# list of directories to search for data files...
for p in jupyter_path():
print('jupyter_path:', p)
print('jupyter_data_dir:', jupyter_data_dir())
print('jupyter_runtime_dir:', jupyter_runtime_dir())
import ipywidgets as widgets
widgets.HTML(value="Hello <b>World</b>")
output
!jupyter --version and --path
4.1.0
config:
/u/s8weber/.jupyter
/usr/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/u/s8weber/.local/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/u/s8weber/.local/share/jupyter/runtime
!cat /usr/etc/jupyter/nbconfig/notebook.json
{
"load_extensions": {
"jupyter-js-widgets/extension": true
}
}
!ls /usr/local/share/jupyter/nbextensions/jupyter-js-widgets
extension.js extension.js.map
version: 4.1.0
config: /u/s8weber/.jupyter
config: /usr/etc/jupyter
config: /usr/local/etc/jupyter
config: /etc/jupyter
jupyter_path: /u/s8weber/.local/share/jupyter
jupyter_path: /usr/local/share/jupyter
jupyter_path: /usr/share/jupyter
jupyter_data_dir: /u/s8weber/.local/share/jupyter
jupyter_runtime_dir: /u/s8weber/.local/share/jupyter/runtime
** Widget Javascript not detected. It may not be installed properly. Did you enable the widgetsnbextension? If not, then run "jupyter nbextension enable --py --sys-prefix widgetsnbextension"
using python3 and jupyterhub… not sure what next to look at.
Issue Analytics
- State:
- Created 7 years ago
- Comments:49 (16 by maintainers)
Top Results From Across the Web
Jupyter notebook: Widget Javascript not detected
Run the following command: jupyter nbextension enable --py --sys-prefix widgetsnbextension , then restart the kernel in Jupyter should do ...
Read more >Widget Javascript not detected · Issue #541 - GitHub
Widgets fail to load with "Widget Javascript not detected. It may not be installed properly." jupyter/help#32.
Read more >ipywidgets :: Widget Javascript not detected :: Best way to fix it?
Widget Javascript not detected. It may not be installed properly. Did you enable the widgetsnbextension? If not, then run "jupyter ...
Read more >"Widget Javascript not detected" error - Python Forum
It may not be installed or enabled properly. I located the following relevant thread that addresses this error: Widget Javascript not detected
Read more >Again: Widget Javascript not detected
I keep getting the infamous “Widget Javascript not detected. It may not be installed or enabled properly.” In the past, I have spent...
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 FreeTop 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
Top GitHub Comments
I don’t know about anyone else, but I still see this message ALL THE TIME, on lots of different systems. Sometimes it goes away after running the suggested command, sometimes it doesn’t. Sometimes reinstalling ipywidgets helps, sometimes it doesn’t. Sometimes it means the widgets aren’t working, sometimes it doesn’t. Sometimes I manage to get it to go away somehow, but then it comes back the next time anything is upgraded. This message and the associated machinery is really a big pain when using ipywidgets. 😦
This issue is fixed in the upcoming 7.0 release. I hope to have a beta out by the end of the week.