<?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 Pro Python window can't locate geos_c.dll when importing shapely.geometry in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1055728#M40706</link>
    <description>&lt;P&gt;I've been trying to run a Python script in the ArcGIS Pro 2.7.3 window using a cloned environment with shapely 1.6.4 installed. For some reason, every time I try to import shapely.geometry I get the following error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-fg"&gt;OSError&lt;/SPAN&gt;: Could not find lib geos_c.dll or load any of its variants ['C:\\ArcGISProEnvs\\arcgispro-py3-clone\\Library\\lib\\geos_c.dll'].&lt;/PRE&gt;&lt;P&gt;I've checked the directory it references and, indeed, there is no geos_c.dll located there. Instead, the dll seems to be located in ..\Library\bin\. When I try importing shapely.geometry from the Python command prompt (with the cloned environment activated) I can do so without issue. Why would the Python window inside Pro specifically be giving me this error? It may be worth mentioning that I recently updated ArcGIS Pro from 2.4, where this issue never showed up.&lt;/P&gt;&lt;P&gt;Here's what I've tried so far:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reinstalling shapely from the Python command prompt&lt;/P&gt;&lt;P&gt;Downgrading geos to v3.7.1&lt;/P&gt;&lt;P&gt;Pasting in a copy of geos_c.dll from \bin\ into \lib\&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 16:35:42 GMT</pubDate>
    <dc:creator>dlund203</dc:creator>
    <dc:date>2021-05-07T16:35:42Z</dc:date>
    <item>
      <title>ArcGIS Pro Python window can't locate geos_c.dll when importing shapely.geometry</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1055728#M40706</link>
      <description>&lt;P&gt;I've been trying to run a Python script in the ArcGIS Pro 2.7.3 window using a cloned environment with shapely 1.6.4 installed. For some reason, every time I try to import shapely.geometry I get the following error:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-fg"&gt;OSError&lt;/SPAN&gt;: Could not find lib geos_c.dll or load any of its variants ['C:\\ArcGISProEnvs\\arcgispro-py3-clone\\Library\\lib\\geos_c.dll'].&lt;/PRE&gt;&lt;P&gt;I've checked the directory it references and, indeed, there is no geos_c.dll located there. Instead, the dll seems to be located in ..\Library\bin\. When I try importing shapely.geometry from the Python command prompt (with the cloned environment activated) I can do so without issue. Why would the Python window inside Pro specifically be giving me this error? It may be worth mentioning that I recently updated ArcGIS Pro from 2.4, where this issue never showed up.&lt;/P&gt;&lt;P&gt;Here's what I've tried so far:&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reinstalling shapely from the Python command prompt&lt;/P&gt;&lt;P&gt;Downgrading geos to v3.7.1&lt;/P&gt;&lt;P&gt;Pasting in a copy of geos_c.dll from \bin\ into \lib\&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 16:35:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1055728#M40706</guid>
      <dc:creator>dlund203</dc:creator>
      <dc:date>2021-05-07T16:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Python window can't locate geos_c.dll when importing shapely.geometry</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1055906#M40722</link>
      <description>&lt;P&gt;What environment are you connect to when you are within Pro?&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 22:21:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1055906#M40722</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-05-07T22:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Python window can't locate geos_c.dll when importing shapely.geometry</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1056619#M40801</link>
      <description>&lt;P&gt;I'm using the same cloned environment. Incidentally, I decided against using shapely altogether because of all the headaches it was causing me, but I'd still like to hear a solution just to satisfy my own curiosity!&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 12:02:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1056619#M40801</guid>
      <dc:creator>dlund203</dc:creator>
      <dc:date>2021-05-11T12:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Python window can't locate geos_c.dll when importing shapely.geometry</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1548288#M89129</link>
      <description>&lt;P&gt;same problem I am facing. any updates on this?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Oct 2024 04:52:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcgis-pro-python-window-can-t-locate-geos-c-dll/m-p/1548288#M89129</guid>
      <dc:creator>AnatoliHailemariam</dc:creator>
      <dc:date>2024-10-13T04:52:27Z</dc:date>
    </item>
  </channel>
</rss>

