<?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 ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1295489#M69800</link>
    <description>&lt;P&gt;Here's what happened:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Made clone of arcgispro-py3 default env&lt;/LI&gt;&lt;LI&gt;Entered conda install dbfread&lt;/LI&gt;&lt;LI&gt;Got this warning&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;&amp;gt;conda install dbfread

The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - esri/win-64::arcgis==2.1.0.2=py39_14
  - esri/win-64::arcpy==3.1=py39_arcgispro_41759
  - esri/noarch::dask==2022.7.0=py_0
  - defaults/win-64::distributed==2022.7.0=py39haa95532_0
  - esri/noarch::ipykernel==6.16.0=py_1
  - esri/noarch::ipywidgets==7.7.2=py_0
  - esri/noarch::jupyterlab==3.4.8=py_0
  - esri/noarch::jupyterlab_server==2.16.0=py_1
  - esri/noarch::jupyter_client==6.1.12=py_0
  - esri/noarch::jupyter_console==6.4.2=py_0
  - esri/noarch::jupyter_contrib_core==0.4.0=py_0
  - esri/noarch::jupyter_contrib_nbextensions==0.6.0=py_2
  - esri/win-64::jupyter_core==4.6.3=py36_2
  - esri/noarch::jupyter_highlight_selected_word==0.2.0=py_4
  - esri/noarch::jupyter_latex_envs==1.4.6=py_5
  - esri/noarch::jupyter_nbextensions_configurator==0.4.1=py_3
  - esri/noarch::jupyter_server==1.21.0=py_0
  - esri/noarch::nbclassic==0.4.8=py_0
  - esri/noarch::nbclient==0.7.0=py_3
  - esri/noarch::nbconvert==7.2.1=py_2
  - esri/noarch::nbformat==5.6.1=py_0
  - esri/noarch::notebook==6.4.12=py_0
  - esri/noarch::notebook-shim==0.1.0=py_0
  - esri/win-64::pro_notebook_integration==3.1=py39_12
done

## Package Plan ##

  environment location: C:\Users\dconly\AppData\Local\ESRI\conda\envs\arcgispro-test

  added / updated specs:
    - dbfread


The following NEW packages will be INSTALLED:

  dbfread            pkgs/main/noarch::dbfread-2.0.7-pyhd3eb1b0_0
  pywin32            pkgs/main/win-64::pywin32-305-py39h2bbff1b_0

The following packages will be UPDATED:

  ca-certificates                               2020.7.22-0 --&amp;gt; 2023.01.10-haa95532_0
  certifi                          2022.9.24-py39haa95532_0 --&amp;gt; 2023.5.7-py39haa95532_0
  jupyter_core              esri::jupyter_core-4.6.3-py36_2 --&amp;gt; pkgs/main::jupyter_core-5.3.0-py39haa95532_0
  python                              esri::python-3.9.16-0 --&amp;gt; pkgs/main::python-3.9.16-h6244533_2

The following packages will be SUPERSEDED by a higher-priority channel:

  openssl                             esri::openssl-3.0.7-0 --&amp;gt; pkgs/main::openssl-1.1.1t-h2bbff1b_0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I chose to ignore the error and proceed with the install. But after installing and trying to import arcpy, I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy
Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 77, in &amp;lt;module&amp;gt;
    from arcpy.geoprocessing import gp
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;
    from ._base import *
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;
    import arcgisscripting
  File "C:\Users\dconly\AppData\Local\ESRI\conda\envs\arcgispro-test2\lib\site-packages\arcgisscripting\__init__.py", line 131, in &amp;lt;module&amp;gt;
    from ._arcgisscripting import *
ImportError: DLL load failed while importing _arcgisscripting: The specified module could not be found.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error did &lt;STRONG&gt;not&lt;/STRONG&gt; happen prior to installing dbfread. Based on this &lt;A href="https://community.esri.com/t5/python-questions/dll-load-failed-while-importing-arcgisscripting/m-p/1266415#M67051" target="_self"&gt;March 2023&lt;/A&gt; post and &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcpy-import-error-in-cloned-env/td-p/1200959" target="_self"&gt;this August 2022 post&lt;/A&gt;, I figured it might have been related to not installing from the correct conda channel. But in the past I've installed dbfread in environments in this manner without any effects on arcpy. But for your all's information, here's the info on the dbfread install:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# packages in environment at C:\Users\dconly\AppData\Local\ESRI\conda\envs\arcgispro-test2:
#
# Name                    Version                   Build  Channel
dbfread                   2.0.7              pyhd3eb1b0_0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other observations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm using Pro 3.1&lt;/LI&gt;&lt;LI&gt;This issue doesn't seem to care what package I'm installing (I use dbfread as an example, but it also affected me for geopandas).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any idea what's going on?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2023 18:55:09 GMT</pubDate>
    <dc:creator>DarrenConly</dc:creator>
    <dc:date>2023-06-02T18:55:09Z</dc:date>
    <item>
      <title>ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1295489#M69800</link>
      <description>&lt;P&gt;Here's what happened:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Made clone of arcgispro-py3 default env&lt;/LI&gt;&lt;LI&gt;Entered conda install dbfread&lt;/LI&gt;&lt;LI&gt;Got this warning&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;&amp;gt;conda install dbfread

The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  - esri/win-64::arcgis==2.1.0.2=py39_14
  - esri/win-64::arcpy==3.1=py39_arcgispro_41759
  - esri/noarch::dask==2022.7.0=py_0
  - defaults/win-64::distributed==2022.7.0=py39haa95532_0
  - esri/noarch::ipykernel==6.16.0=py_1
  - esri/noarch::ipywidgets==7.7.2=py_0
  - esri/noarch::jupyterlab==3.4.8=py_0
  - esri/noarch::jupyterlab_server==2.16.0=py_1
  - esri/noarch::jupyter_client==6.1.12=py_0
  - esri/noarch::jupyter_console==6.4.2=py_0
  - esri/noarch::jupyter_contrib_core==0.4.0=py_0
  - esri/noarch::jupyter_contrib_nbextensions==0.6.0=py_2
  - esri/win-64::jupyter_core==4.6.3=py36_2
  - esri/noarch::jupyter_highlight_selected_word==0.2.0=py_4
  - esri/noarch::jupyter_latex_envs==1.4.6=py_5
  - esri/noarch::jupyter_nbextensions_configurator==0.4.1=py_3
  - esri/noarch::jupyter_server==1.21.0=py_0
  - esri/noarch::nbclassic==0.4.8=py_0
  - esri/noarch::nbclient==0.7.0=py_3
  - esri/noarch::nbconvert==7.2.1=py_2
  - esri/noarch::nbformat==5.6.1=py_0
  - esri/noarch::notebook==6.4.12=py_0
  - esri/noarch::notebook-shim==0.1.0=py_0
  - esri/win-64::pro_notebook_integration==3.1=py39_12
done

## Package Plan ##

  environment location: C:\Users\dconly\AppData\Local\ESRI\conda\envs\arcgispro-test

  added / updated specs:
    - dbfread


The following NEW packages will be INSTALLED:

  dbfread            pkgs/main/noarch::dbfread-2.0.7-pyhd3eb1b0_0
  pywin32            pkgs/main/win-64::pywin32-305-py39h2bbff1b_0

The following packages will be UPDATED:

  ca-certificates                               2020.7.22-0 --&amp;gt; 2023.01.10-haa95532_0
  certifi                          2022.9.24-py39haa95532_0 --&amp;gt; 2023.5.7-py39haa95532_0
  jupyter_core              esri::jupyter_core-4.6.3-py36_2 --&amp;gt; pkgs/main::jupyter_core-5.3.0-py39haa95532_0
  python                              esri::python-3.9.16-0 --&amp;gt; pkgs/main::python-3.9.16-h6244533_2

The following packages will be SUPERSEDED by a higher-priority channel:

  openssl                             esri::openssl-3.0.7-0 --&amp;gt; pkgs/main::openssl-1.1.1t-h2bbff1b_0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I chose to ignore the error and proceed with the install. But after installing and trying to import arcpy, I get this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy
Traceback (most recent call last):
  File "&amp;lt;stdin&amp;gt;", line 1, in &amp;lt;module&amp;gt;
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py", line 77, in &amp;lt;module&amp;gt;
    from arcpy.geoprocessing import gp
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in &amp;lt;module&amp;gt;
    from ._base import *
  File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py", line 14, in &amp;lt;module&amp;gt;
    import arcgisscripting
  File "C:\Users\dconly\AppData\Local\ESRI\conda\envs\arcgispro-test2\lib\site-packages\arcgisscripting\__init__.py", line 131, in &amp;lt;module&amp;gt;
    from ._arcgisscripting import *
ImportError: DLL load failed while importing _arcgisscripting: The specified module could not be found.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This error did &lt;STRONG&gt;not&lt;/STRONG&gt; happen prior to installing dbfread. Based on this &lt;A href="https://community.esri.com/t5/python-questions/dll-load-failed-while-importing-arcgisscripting/m-p/1266415#M67051" target="_self"&gt;March 2023&lt;/A&gt; post and &lt;A href="https://community.esri.com/t5/arcgis-pro-questions/arcpy-import-error-in-cloned-env/td-p/1200959" target="_self"&gt;this August 2022 post&lt;/A&gt;, I figured it might have been related to not installing from the correct conda channel. But in the past I've installed dbfread in environments in this manner without any effects on arcpy. But for your all's information, here's the info on the dbfread install:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;# packages in environment at C:\Users\dconly\AppData\Local\ESRI\conda\envs\arcgispro-test2:
#
# Name                    Version                   Build  Channel
dbfread                   2.0.7              pyhd3eb1b0_0&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Other observations:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;I'm using Pro 3.1&lt;/LI&gt;&lt;LI&gt;This issue doesn't seem to care what package I'm installing (I use dbfread as an example, but it also affected me for geopandas).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any idea what's going on?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2023 18:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1295489#M69800</guid>
      <dc:creator>DarrenConly</dc:creator>
      <dc:date>2023-06-02T18:55:09Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1295534#M69803</link>
      <description>&lt;P&gt;As an update, I tried installing geopandas through Pro's package manager, thinking that doing so would get rid of conflicts (i.e., choose the correct conda channel, not override any esri-sourced packages, etc.). But alas this also resulted in "DLL load fail" error.&lt;/P&gt;&lt;P&gt;I also tried all of the above on a different machine: While it did not give me the long warning, arcpy stopped working after installing dbfread.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jun 2023 16:47:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1295534#M69803</guid>
      <dc:creator>DarrenConly</dc:creator>
      <dc:date>2023-06-05T16:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1297394#M70043</link>
      <description>&lt;P&gt;Problem solved!&lt;/P&gt;&lt;P&gt;The solution, after working with ESRI tech support, was doing a somewhat more involved uninstall-reinstall (I had tried simply re-installing without doing an explicit uninstall and that didn't work). Image below shows the steps we did:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DarrenConly_0-1686264602356.png" style="width: 441px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/72727iC7FED730F35EA805/image-dimensions/441x501?v=v2" width="441" height="501" role="button" title="DarrenConly_0-1686264602356.png" alt="DarrenConly_0-1686264602356.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I think my original issue was due to some bug with the specific installation I had. Either way am glad it's fixed!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 22:51:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1297394#M70043</guid>
      <dc:creator>DarrenConly</dc:creator>
      <dc:date>2023-06-08T22:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1297446#M70049</link>
      <description>&lt;P&gt;After updating ipykernel from within the package manager, which triggered upgrades to python 3.9.16 and jupyter lab, importing arcpy is now failing.&amp;nbsp; Previously, I had a similar issue with importing arcpy and reinstalled arcgispro 3.1.2 and fixed it.&amp;nbsp; From that point I cloned the default environment and added a few additional packages without issues.&amp;nbsp; I assumed the package manager would be a "safer" place to add/update packages without breaking the environment for arcpy, but apparently that is not the case. What is the deal with the error: "ImportError: DLL load failed while importing _arcgisscripting: The specified module could not be found."&amp;nbsp; The module does exist.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 02:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1297446#M70049</guid>
      <dc:creator>Pagdaemonium</dc:creator>
      <dc:date>2023-06-09T02:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1305460#M70784</link>
      <description>&lt;P&gt;Thanks for the solution!&amp;nbsp; Problem solved.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 22:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1305460#M70784</guid>
      <dc:creator>John_Herrera</dc:creator>
      <dc:date>2023-07-03T22:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1382875#M78852</link>
      <description>&lt;P&gt;I am having the same issue. Using arcgis pro 3.1.4 and using the cloned environment because I had to add packages. Did you find a solution?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 16:09:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1382875#M78852</guid>
      <dc:creator>ShariF</dc:creator>
      <dc:date>2024-02-15T16:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1383142#M78898</link>
      <description>&lt;P&gt;Yes, the problem was our firewall blocking the request when updating Python packages.&amp;nbsp; Our ISO had to white-list a bunch of entities.&amp;nbsp; Once white-listed, I was able to update the packages.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 22:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1383142#M78898</guid>
      <dc:creator>John_Herrera</dc:creator>
      <dc:date>2024-02-15T22:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: DLL load failed while importing _arcgisscripting - after installing dbfread</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1414451#M82290</link>
      <description>&lt;P&gt;Hi, I also have the same issue. It is frustrating. Did anyone get around to this problem? I installed Geopandas (using the ArcGIS Pro&amp;nbsp;package manager) and am now getting a DLL error for importing both the "arcpy" and "geopandas" libraries.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Apr 2024 22:00:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/importerror-dll-load-failed-while-importing/m-p/1414451#M82290</guid>
      <dc:creator>MinhazulIslam919</dc:creator>
      <dc:date>2024-04-23T22:00:53Z</dc:date>
    </item>
  </channel>
</rss>

