Select to view content in your preferred language

Getting Error in Console: Object 'jupyter.widget' not found in registry while creating map.

12-26-2018 04:33 AM
New Contributor II

I have already created a connection to the portal, on doing some research I found that this issue occurs when multiple notebooks are opened in lab but I have only opened one and only one kernel is running at that instance. My jupyter notebook version is 5.7.1 and ArcGIS Python API version is 1.5.2

import arcpy
import arcgis
from arcgis.gis import GIS

map ="Chennai")

0 Kudos
2 Replies
New Contributor II

I installed the nodejs using conda after that I am trying to run the following commands

   jupyter labextension install @jupyter-widgets/jupyterlab-manager

   jupyter labextension install arcgis-map-ipywidget@1.5.

but nothing is happening and I am getting the above output and the same error.


0 Kudos
New Contributor II



I think the Node.js is not installed correctly- I had some similar problems when I got started with JupyterLab. 

Try this:

  1. Install nodejs outside of Conda and make sure the install is added to the PATH environmental variable
  2. Create a new ArcGIS environment.
  3. Activate the new environment.

From the new environments command line:

  1. conda upgrade -c esri arcgis
  2. jupyter labextension install @jupyter-widgets/jupyterlab-manager
  3. jupyter labextension install arcgis-map-ipywidget@1.5.2

Start JupyterLab and it should work…

JupyterLab screenshot