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
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 = gis.map("Chennai") map