Widget JavaScript Not Detected
See original GitHub issueTrying to run the samples -
Configured the Jupyter Notebook environment via
%%sh
conda install -c conda-forge ipywidgets
conda install -c esri arcgis
Both of those installed fine
Enabled widgets via
%%sh
jupyter nbextension enable --py --sys-prefix widgetsnbextension
Enabling notebook extension jupyter-js-widgets/extension… - Validating: OK
Then if I try to instantiate a sample map:
from arcgis.gis import GIS
gis = GIS()
map = gis.map('Seattle, WA', 6)
map
I get a JavaScript error: 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”
Non-ESRI widgets work fine in my other notebooks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:51 (17 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 >Python – Jupyter notebook: Widget Javascript not detected
Question: I installed python3 and jupyter notebook using pip3 in MacOs 10.9. When I try to run the widget it gives error that...
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
It works! Thank you @rohitgeo @rwmajor2
We have released a new update (v1.2.3) that should resolve the issue. Can you please try it out? The commands below create a new conda environment and install the ArcGIS Python API in it: