I'm trying to get started with Arcgis for python. But, I'm getting a strange "Unhandled Error" on jupyter notebook as shown below
from arcgis.gis import GIS
gis = GIS()
m = gis.map()
m
The error is
Unhandled Error! See the browser console for more info.
When I try to see the Firefox browser console , I get some strange js errors. The logs are
I wonder why the error is and how can this be fixed?
I think the problem was with the version of arcgis and some default settings of arcgis.
After I updated arcgis
using conda install -c esri arcgis
, I enabled the jupyter notebook extension in browser by jupyter nbextension enable arcgis --py --sys-prefix
. This solved the problem.