<?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 Re: find_nearest error in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036708#M5725</link>
    <description>&lt;P&gt;Hi Calvin,&lt;/P&gt;&lt;P&gt;I realized that this issue is not related to credits, because my colleague successfully ran the same script with the same account credentials.&lt;/P&gt;&lt;P&gt;I don't know what else I can do about it. The error persists with all analysis module functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Yulia&lt;/P&gt;</description>
    <pubDate>Mon, 15 Mar 2021 17:06:01 GMT</pubDate>
    <dc:creator>YuliaMamonova</dc:creator>
    <dc:date>2021-03-15T17:06:01Z</dc:date>
    <item>
      <title>find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036176#M5713</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I get the following error when I run the script with find_nearest function or any other function from use_proximity module. I am lost, tried all kinds of workarounds, nothing worked so far. I would appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The script is as following:&lt;/STRONG&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; arcgis&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;features &lt;/SPAN&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; FeatureLayer&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; FeatureLayerCollection&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; use_proximity&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;features&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;use_proximity &lt;/SPAN&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; find_nearest&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;geometry &lt;/SPAN&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; Geometry&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; Point&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt; Polyline&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt; arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;gis &lt;/SPAN&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; GIS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;agoLogin &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;GIS&lt;/SPAN&gt;&lt;SPAN&gt;(#)&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;username&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;password&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;verify_cert&lt;/SPAN&gt;&lt;SPAN&gt;=False)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;# Get point layer with trees&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;trees_layer &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; agoLogin&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;content&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;trees &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; trees_layer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;layers&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;# Get line layer with road segments&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;roads_layer &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; agoLogin&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;content&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;get&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;roads &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; roads_layer&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;layers&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;].&lt;/SPAN&gt;&lt;SPAN&gt;query&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Find nearest road segment for each tree&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;nearest &lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; use_proximity&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;find_nearest&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;analysis_layer&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;trees&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;near_layer&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;roads&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;measurement_type&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;StraightLine&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;gis&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; agoLogin&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;max_count&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;The error is as following:&lt;/STRONG&gt;&lt;SPAN&gt;&lt;BR /&gt;File "/usr/local/lib/python3.9/site-packages/arcgis/features/use_proximity.py", line 773, in find_nearest&lt;BR /&gt;params = inspect_function_inputs(fn=gis._tools.featureanalysis._tbx.find_nearest,&lt;BR /&gt;File "/usr/local/lib/python3.9/site-packages/arcgis/_impl/tools.py", line 644, in _tbx&lt;BR /&gt;self._gptbx = import_toolbox(url_or_item=self._url, gis=self._gis, verbose=self._verbose)&lt;BR /&gt;File "/usr/local/lib/python3.9/site-packages/arcgis/geoprocessing/_tool.py", line 454, in import_toolbox&lt;BR /&gt;f = executor.submit(fn=_generate_fn, **{"task": task, "tbx" :tbx})&lt;BR /&gt;TypeError: submit() missing 1 required positional argument: 'fn'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you!!!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Mar 2021 23:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036176#M5713</guid>
      <dc:creator>YuliaMamonova</dc:creator>
      <dc:date>2021-03-12T23:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036252#M5716</link>
      <description>&lt;P&gt;I think because you have only imported find_nearest from use_proximity, when you then reference use_proximity.find_nearest() it croaks.&lt;/P&gt;&lt;P&gt;perhaps try just find_nearest() or otherwise -&amp;nbsp;&lt;SPAN&gt;from&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;arcgis&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;features import&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;use_proximity&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 12:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036252#M5716</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-03-13T12:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036261#M5717</link>
      <description>&lt;P&gt;Thank you, I tried what you've proposed before, still same error no matter what.&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 15:55:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036261#M5717</guid>
      <dc:creator>YuliaMamonova</dc:creator>
      <dc:date>2021-03-13T15:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036264#M5718</link>
      <description>&lt;P&gt;When I try this create_bufferes function on any hosted layer, I get the same result. I am thinking - can there be a problem with geoprocessing on my end because of my negative arcgis credits balance?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="YuliaMamonova_0-1615653345807.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/8389iF60705F05E712F2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="YuliaMamonova_0-1615653345807.png" alt="YuliaMamonova_0-1615653345807.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Mar 2021 16:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036264#M5718</guid>
      <dc:creator>YuliaMamonova</dc:creator>
      <dc:date>2021-03-13T16:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036677#M5724</link>
      <description>&lt;P&gt;Hi Yulia,&lt;/P&gt;&lt;P&gt;That is definitely possible. A lot of these analysis tools use the default ArcGIS Online utility services, which can incur a credit cost. A worthwhile test may be to add a table/hosted feature layer to a new Web Map in your Portal organization, and then click the Analysis button from the toolbar. Here, we can run the same tools manually, including Find Nearest. If run in the web map, does the tool succeed?&lt;/P&gt;&lt;P&gt;Also, what do you see listed under Portal -&amp;gt; Organization -&amp;gt; Settings -&amp;gt; Utility Services -&amp;gt; Directions and Routing -&amp;gt;&amp;nbsp;Closest Facility (Asynchronous)? If this is an ArcGIS Online URL, then it means that the operation will cost credits according to the credit breakdown here:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-online/administer/credits.htm#ESRI_SECTION1_709121D2C7694DCAB9B8592F36F7A5BA" target="_blank"&gt;https://doc.arcgis.com/en/arcgis-online/administer/credits.htm#ESRI_SECTION1_709121D2C7694DCAB9B8592F36F7A5BA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The &lt;A href="https://enterprise.arcgis.com/en/portal/latest/use/find-nearest.htm" target="_self"&gt;Find Nearest&lt;/A&gt; tool using this utility service endpoint to perform the operation.&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Calvin&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 16:14:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036677#M5724</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-03-15T16:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036708#M5725</link>
      <description>&lt;P&gt;Hi Calvin,&lt;/P&gt;&lt;P&gt;I realized that this issue is not related to credits, because my colleague successfully ran the same script with the same account credentials.&lt;/P&gt;&lt;P&gt;I don't know what else I can do about it. The error persists with all analysis module functions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Yulia&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 17:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036708#M5725</guid>
      <dc:creator>YuliaMamonova</dc:creator>
      <dc:date>2021-03-15T17:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036874#M5730</link>
      <description>&lt;P&gt;I changed the environment to conda and the script ran successfully. I don't quite understand why, because arcgis was installed on both environments. Any ideas?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Mar 2021 21:17:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036874#M5730</guid>
      <dc:creator>YuliaMamonova</dc:creator>
      <dc:date>2021-03-15T21:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1330862#M9035</link>
      <description>&lt;H2&gt;Update&lt;/H2&gt;&lt;P&gt;See &lt;A href="https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1333176/highlight/true#M9057" target="_self"&gt;below&lt;/A&gt; for more.&lt;/P&gt;&lt;H2&gt;Original Post&lt;/H2&gt;&lt;P&gt;I was having the same issue but with the&amp;nbsp;&lt;EM&gt;arcgis.features.analysis.join_features()&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;function. It was returning the same&lt;EM&gt; `f = executor.submit(fn...`&lt;/EM&gt; error. See full error below.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;What I eventually did to get it to work was roll back my&amp;nbsp;&lt;EM&gt;arcgis&lt;/EM&gt; installation to &lt;EM&gt;v1.8.4&lt;/EM&gt;. My error was happening on python interpreters using&lt;EM&gt; v1.9.1&lt;/EM&gt; and &lt;EM&gt;v1.8.5.post3&lt;/EM&gt;. I can't find anything in the release notes that would suggest any change (except maybe &lt;A href="https://developers.arcgis.com/python/guide/release-notes-190/#:~:text=keep_target%20parameter%20to-,join_features(),-Adds%20parameters%20to" target="_self"&gt;this&lt;/A&gt;?).&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/23979"&gt;@YuliaMamonova&lt;/a&gt;, perhaps your conda environment had a different installation of the&amp;nbsp;&lt;EM&gt;arcgis&amp;nbsp;&lt;/EM&gt;package which is why it worked?&lt;/P&gt;&lt;P&gt;This is the second error moving beyond&amp;nbsp;&lt;EM&gt;v1.8.4,&amp;nbsp;&lt;/EM&gt;though they may have cleaned this up in &amp;gt;=2.0. Anyone else have any insight?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt;File "~\venv\lib\site-packages\IPython\core\interactiveshell.py", line 3553, in run_code&lt;BR /&gt;exec(code_obj, self.user_global_ns, self.user_ns)&lt;BR /&gt;File "&amp;lt;ipython-input-17-9f3d49ba8bbe&amp;gt;", line 9, in &amp;lt;cell line: 9&amp;gt;&lt;BR /&gt;joined_layer = join_features(&lt;BR /&gt;File "~\venv\lib\site-packages\arcgis\features\summarize_data.py", line 748, in join_features&lt;BR /&gt;params = inspect_function_inputs(fn=gis._tools.featureanalysis._tbx.join_features, **kwargs)&lt;BR /&gt;File "C:\Users\Jacob.Cooper\Documents_LocalOnly\coding\local_ssm\py_venv\venv\lib\site-packages\arcgis\_impl\tools.py", line 678, in _tbx&lt;BR /&gt;self._gptbx = import_toolbox(url_or_item=self._url, gis=self._gis, verbose=self._verbose)&lt;BR /&gt;File "~\venv\lib\site-packages\arcgis\geoprocessing\_tool.py", line 463, in import_toolbox&lt;BR /&gt;f = executor.submit(fn=_generate_fn, **{"task": task, "tbx" :tbx})&lt;BR /&gt;TypeError: submit() missing 1 required positional argument: 'fn'&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 27 Sep 2023 22:05:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1330862#M9035</guid>
      <dc:creator>JACooper</dc:creator>
      <dc:date>2023-09-27T22:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: find_nearest error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1333176#M9057</link>
      <description>&lt;H2&gt;Update&lt;/H2&gt;&lt;P&gt;After receiving the &lt;EM&gt;TypeError&amp;nbsp;&lt;/EM&gt;on an &lt;EM&gt;arcgis&lt;/EM&gt; v1.8.4 installation, I did more&amp;nbsp;testing and arrived at the same conclusion as&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/23979"&gt;@YuliaMamonova&lt;/a&gt;&amp;nbsp;in &lt;A href="https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1036874/highlight/true#M5730" target="_self"&gt;the solution&lt;/A&gt;: it's not mattering which version of&amp;nbsp;&lt;EM&gt;arcgis&amp;nbsp;&lt;/EM&gt;I am using, but the conda-based python interpreter seems to be the key to success for my script. So, my previous suggestion was incorrect. Why conda interpreters work is confounding; the other interpreters I was testing on were either the one installed directly with ArcGIS Pro or downstream virtual environments built off of that original ArcPro interpreter.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 22:04:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/find-nearest-error/m-p/1333176#M9057</guid>
      <dc:creator>JACooper</dc:creator>
      <dc:date>2023-09-27T22:04:30Z</dc:date>
    </item>
  </channel>
</rss>

