AnsweredAssumed Answered

ArcGIS Python API error-  'GIS' object has no attribute 'tools'

Question asked by durga.dhulipudi on Mar 27, 2017
Latest reply on Mar 31, 2017 by bixb0012

Getting hands on with latest ArcGIS Python API.Getting below error after running processing sample.

 

 

Using Geoprocessing tools | ArcGIS for Developers 

 

from arcgis.gis import GIS

gis = GIS()
map = gis.map()
map

diegogarcia = gis.tools.geocoder.find_best_match("Diego Garcia")
map.center = diegogarcia

AttributeError                            Traceback (most recent call last)<ipython-input-3-cb8f9185cd0a> in <module>()----> 1 diegogarcia = gis.tools.geocoder.find_best_match("Diego Garcia")      2 map.center = diegogarciaAttributeError: 'GIS' object has no attribute 'tools' 

I have completed all necessary configurations suggested at Install and set up | ArcGIS for Developers 

conda,Jupyter Notebook and upgraded to latest versions.

Outcomes