<?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: Has anyone encountered issue with importing arcgis or arcpy? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621699#M74333</link>
    <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3265"&gt;@TonyAlmeida&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; for tips.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3265"&gt;@TonyAlmeida&lt;/a&gt;&amp;nbsp; - I tried to reinstall the Pro (classic way without sweeping out all the settings). I thought this could make a clean installation of the default python env.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; I was thinking about the clean un(installation), but tried to avoid it at first, for example in favor or reset of the python env only.&lt;/P&gt;&lt;P&gt;Anyway, it looks to be the only way &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks both!&lt;/P&gt;</description>
    <pubDate>Sat, 07 Jun 2025 05:41:13 GMT</pubDate>
    <dc:creator>VHolubec</dc:creator>
    <dc:date>2025-06-07T05:41:13Z</dc:date>
    <item>
      <title>Has anyone encountered issue with importing arcgis or arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621679#M74330</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;after installation to 3.5 (I´ve tried the uninstall/install procedure twice), I have a trouble with importing "arcgis" module in default Pro env - in every client - Pro/Notebook/VSCode with error:&lt;/P&gt;&lt;P&gt;" &lt;EM&gt;File "C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\Lib\site-packages\cryptography\x509\certificate_transparency.py", line 11, in &amp;lt;module&amp;gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;from cryptography.hazmat.bindings._rust import x509 as rust_x509&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ImportError: DLL load failed while importing _rust: Access denied&lt;/EM&gt;.&lt;BR /&gt;"&lt;/P&gt;&lt;P&gt;also I tried the clonned env + its update, but it´s even worse.&lt;/P&gt;&lt;P&gt;For "import arcpy" I am getting error:&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;UnboundLocalError: cannot access local variable 'etree' where it is not associated with a value&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;and for &lt;EM&gt;"import arcgis&lt;/EM&gt;":&lt;/P&gt;&lt;P&gt;"&lt;EM&gt;ImportError: DLL load failed while importing etree: The procedure hasn´t been found.&lt;/EM&gt;"&lt;/P&gt;&lt;P&gt;Hasn´t expected that behavior, but so far it seems it´s not a general behavior, just I am just curious if you encountered the same behavior and if so whether you solved it?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is there a way how to "reset" the Python env?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 22:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621679#M74330</guid>
      <dc:creator>VHolubec</dc:creator>
      <dc:date>2025-06-06T22:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone encountered issue with importing arcgis or arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621682#M74331</link>
      <description>&lt;P&gt;Have tried doing a ArcGIS Pro repair,&amp;nbsp;py3 re-install,&amp;nbsp;reset the default Python environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 23:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621682#M74331</guid>
      <dc:creator>TonyAlmeida</dc:creator>
      <dc:date>2025-06-06T23:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone encountered issue with importing arcgis or arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621687#M74332</link>
      <description>&lt;P&gt;for local installations this&amp;nbsp; works&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-perform-a-clean-uninstall-and-reinstall-of-arcgi-000030419" target="_blank"&gt;How To: Perform a Clean Uninstall and Reinstall of ArcGIS Pro&lt;/A&gt;&lt;/P&gt;&lt;P&gt;a soft reset probably isnt worth it&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 23:19:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621687#M74332</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2025-06-06T23:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone encountered issue with importing arcgis or arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621699#M74333</link>
      <description>&lt;P&gt;Thank you &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3265"&gt;@TonyAlmeida&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; for tips.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/3265"&gt;@TonyAlmeida&lt;/a&gt;&amp;nbsp; - I tried to reinstall the Pro (classic way without sweeping out all the settings). I thought this could make a clean installation of the default python env.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/215600"&gt;@DanPatterson&lt;/a&gt;&amp;nbsp; I was thinking about the clean un(installation), but tried to avoid it at first, for example in favor or reset of the python env only.&lt;/P&gt;&lt;P&gt;Anyway, it looks to be the only way &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks both!&lt;/P&gt;</description>
      <pubDate>Sat, 07 Jun 2025 05:41:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621699#M74333</guid>
      <dc:creator>VHolubec</dc:creator>
      <dc:date>2025-06-07T05:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone encountered issue with importing arcgis or arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621773#M74334</link>
      <description>&lt;P&gt;The reset has helped. By recursice steps I found that the main reason werev due some "relicts" not deleted by the uninstall process in "C:\Program Files\ArcGIS\Pro\bin", but still important (and not replaced by the repair or install process). The other folders/registry keys hasn´t had an influence to this behavior.&lt;/P&gt;&lt;P&gt;Maybe it will help to some others in the future.&lt;/P&gt;&lt;P&gt;Thanks for help!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 07:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1621773#M74334</guid>
      <dc:creator>VHolubec</dc:creator>
      <dc:date>2025-06-09T07:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Has anyone encountered issue with importing arcgis or arcpy?</title>
      <link>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1624423#M74393</link>
      <description>&lt;P&gt;Yeah, anytime I've run into this it almost always boils down to where the python library is being called from.&lt;BR /&gt;&lt;BR /&gt;Some machines may have a python 2.7 a python 3.x and then multiple conda setups with ArcGIS Pro.&lt;BR /&gt;&lt;BR /&gt;Thanks for posting all these ideas for the next time I run into it and forget&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jun 2025 18:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/has-anyone-encountered-issue-with-importing-arcgis/m-p/1624423#M74393</guid>
      <dc:creator>TimWestern</dc:creator>
      <dc:date>2025-06-17T18:19:47Z</dc:date>
    </item>
  </channel>
</rss>

