<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ArcGIS Python API error-  'GIS' object has no attribute 'tools' in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321524#M14044</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting hands on with latest ArcGIS Python API.Getting below error after running processing sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/" title="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/"&gt;Using Geoprocessing tools | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;gis = GIS()&lt;BR /&gt;map = gis.map()&lt;BR /&gt;map&lt;/P&gt;&lt;P&gt;diegogarcia = gis.tools.geocoder.find_best_match("Diego Garcia")&lt;BR /&gt;map.center = diegogarcia&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Traceback (most recent call last)&lt;SPAN class=""&gt;&amp;lt;ipython-input-3-cb8f9185cd0a&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;SPAN class=""&gt;()&lt;/SPAN&gt;&lt;SPAN class=""&gt;----&amp;gt; 1&lt;SPAN class=""&gt; &lt;/SPAN&gt;diegogarcia &lt;SPAN class=""&gt;=&lt;/SPAN&gt; gis&lt;SPAN class=""&gt;.&lt;/SPAN&gt;tools&lt;SPAN class=""&gt;.&lt;/SPAN&gt;geocoder&lt;SPAN class=""&gt;.&lt;/SPAN&gt;find_best_match&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Diego Garcia"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/SPAN&gt; map&lt;SPAN class=""&gt;.&lt;/SPAN&gt;center &lt;SPAN class=""&gt;=&lt;/SPAN&gt; diegogarcia&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;: 'GIS' object has no attribute 'tools' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I have completed all necessary configurations&amp;nbsp;suggested at&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/install-and-set-up/" title="https://developers.arcgis.com/python/guide/install-and-set-up/"&gt;Install and set up | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;conda,Jupyter Notebook and upgraded to latest versions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2017 06:50:23 GMT</pubDate>
    <dc:creator>Durga_D</dc:creator>
    <dc:date>2017-03-28T06:50:23Z</dc:date>
    <item>
      <title>ArcGIS Python API error-  'GIS' object has no attribute 'tools'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321524#M14044</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Getting hands on with latest ArcGIS Python API.Getting below error after running processing sample.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/" title="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/"&gt;Using Geoprocessing tools | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;gis = GIS()&lt;BR /&gt;map = gis.map()&lt;BR /&gt;map&lt;/P&gt;&lt;P&gt;diegogarcia = gis.tools.geocoder.find_best_match("Diego Garcia")&lt;BR /&gt;map.center = diegogarcia&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Traceback (most recent call last)&lt;SPAN class=""&gt;&amp;lt;ipython-input-3-cb8f9185cd0a&amp;gt;&lt;/SPAN&gt; in &lt;SPAN class=""&gt;&amp;lt;module&amp;gt;&lt;SPAN class=""&gt;()&lt;/SPAN&gt;&lt;SPAN class=""&gt;----&amp;gt; 1&lt;SPAN class=""&gt; &lt;/SPAN&gt;diegogarcia &lt;SPAN class=""&gt;=&lt;/SPAN&gt; gis&lt;SPAN class=""&gt;.&lt;/SPAN&gt;tools&lt;SPAN class=""&gt;.&lt;/SPAN&gt;geocoder&lt;SPAN class=""&gt;.&lt;/SPAN&gt;find_best_match&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;"Diego Garcia"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/SPAN&gt; map&lt;SPAN class=""&gt;.&lt;/SPAN&gt;center &lt;SPAN class=""&gt;=&lt;/SPAN&gt; diegogarcia&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;: 'GIS' object has no attribute 'tools' &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I have completed all necessary configurations&amp;nbsp;suggested at&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/guide/install-and-set-up/" title="https://developers.arcgis.com/python/guide/install-and-set-up/"&gt;Install and set up | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;conda,Jupyter Notebook and upgraded to latest versions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 06:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321524#M14044</guid>
      <dc:creator>Durga_D</dc:creator>
      <dc:date>2017-03-28T06:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python API error-  'GIS' object has no attribute 'tools'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321525#M14045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its exactly as the error says, there is no attribute or method with the GIS object for Tools.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.html#gis" title="http://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.html#gis"&gt;arcgis.gis module — arcgis 1.0.1 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should look at the geocoding module.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geocoding.html" title="http://esri.github.io/arcgis-python-api/apidoc/html/arcgis.geocoding.html"&gt;arcgis.geocoding module — arcgis 1.0.1 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 06:56:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321525#M14045</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2017-03-28T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python API error-  'GIS' object has no attribute 'tools'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321526#M14046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried geocoding module and it is working fine.&lt;/P&gt;&lt;P&gt;Should I infer that the example provided by ESRI at&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/" title="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/"&gt;Using Geoprocessing tools | ArcGIS for Developers&lt;/A&gt;&amp;nbsp; is wrong and get corrected in future ?&lt;/P&gt;&lt;PRE style="color: #4c4c4c; background-color: #f7f7f7; border: none; font-size: 17px;"&gt;&lt;SPAN class=""&gt;diegogarcia&lt;/SPAN&gt; &lt;SPAN class="" style="color: #666666;"&gt;=&lt;/SPAN&gt; &lt;SPAN class=""&gt;gis&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;tools&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;geocoder&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666666;"&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;find_best_match&lt;/SPAN&gt;&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #ba2121;"&gt;"Diego Garcia"&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 07:04:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321526#M14046</guid>
      <dc:creator>Durga_D</dc:creator>
      <dc:date>2017-03-28T07:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python API error-  'GIS' object has no attribute 'tools'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321527#M14047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code isn't wrong, per se, it just isn't accurate for the current version of the API.&amp;nbsp; The structure of the API has changed fairly significantly over the past 6 months or so.&amp;nbsp; Unfortunately, Esri has an issue with their URLs for the ArcGIS API for Python.&amp;nbsp; For example, the 2 URLs goto different pages with different examples:&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/" title="https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/"&gt;https://developers.arcgis.com/python/sample-notebooks/Using-Geoprocessing-tools/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/python/sample-notebooks/using-geoprocessing-tools/" title="https://developers.arcgis.com/python/sample-notebooks/using-geoprocessing-tools/"&gt;https://developers.arcgis.com/python/sample-notebooks/using-geoprocessing-tools/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Notice the capitalization differences.&amp;nbsp; The URL that is all lowercase has the most current/accurate content.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2017 17:27:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321527#M14047</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-03-28T17:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Python API error-  'GIS' object has no attribute 'tools'</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321528#M14048</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just heard back from the ArcGIS API for Python team, the problems URLs have been updated to redirect to the current/accurate URLs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Apr 2017 02:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-python-api-error-gis-object-has-no/m-p/321528#M14048</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-04-01T02:26:46Z</dc:date>
    </item>
  </channel>
</rss>

