Select to view content in your preferred language

ImportError: DLL load failed while importing _arcgisscripting

465
0
05-01-2023 06:32 AM
AtzeWitteveen
New Contributor II

When I try to load arcpy I get the following error.

ImportError                               Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_27296\579496505.py in <cell line: 1>()
----> 1 import arcpy

D:\ArcGIS\Pro\Resources\ArcPy\arcpy\__init__.py in <module>
     75     import _initagsenv
     76 
---> 77 from arcpy.geoprocessing import gp
     78 from arcpy.geoprocessing import env
     79 from arcpy.geoprocessing._base import gptooldoc as _gptooldoc

D:\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\__init__.py in <module>
     12 #
     13 #email: contracts@esri.com
---> 14 from ._base import *

D:\ArcGIS\Pro\Resources\ArcPy\arcpy\geoprocessing\_base.py in <module>
     12 #
     13 #email: contracts@esri.com
---> 14 import arcgisscripting
     15 import functools
     16 

D:\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\lib\site-packages\arcgisscripting\__init__.py in <module>
    129 
    130 
--> 131 from ._arcgisscripting import *
    132 from ._arcgisscripting import _addTimeInterval, _analyzeForSD, _attachLocator, \
    133     _convertWebMapToMapDocument, _createGISServerConnectionFile, \

ImportError: DLL load failed while importing _arcgisscripting: Can't find requested procedure.

Has anyone seen this before and know how te solve it?

- ArcGIS pro is installed,
- I tried reinstalling ArcGIS pro, didn't help,
- All I did is make a clone of the default environment. 

 

0 Replies