我已经安装了ArcMap 10.6,并正在尝试从Spyder内导入arcpy(使用Winpython 2.7.10.3)。
当我尝试导入arcpy并且不确定如何解决时,出现以下错误消息?
import arcpy
Traceback (most recent call last):
File "<ipython-input-16-50d283eebbb3>", line 1, in <module>
import arcpy
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\__init__.py", line 22, in <module>
from arcpy.geoprocessing import gp
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\geoprocessing\__init__.py", line 14, in <module>
from _base import *
File "C:\Program Files (x86)\ArcGIS\Desktop10.6\ArcPy\arcpy\geoprocessing\_base.py", line 14, in <module>
import arcgisscripting
ImportError: DLL load failed: The specified procedure could not be found.