Arcpy:Error 000824 The tool is not licensed 解决方式

in 工具技巧百宝箱 with 0 comment

问题描述:

今天在操作Arcpy时,出现000824,工具未注册错误。

微信图片_20180213155655.png

解决方案:

事实上,这是由于扩展模块工具默认不可用,需要加载扩展模块方可。

在桌面端,可以通过设置加载项进行扩展模块的加载。

而在Arcpy中,通过CheckExtension函数即可引用。

代码格式:

# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("[扩展编码]")

扩展模块及对应的扩展编码如下:

扩展模块扩展编码
ArcGIS 3D Analyst3D
ArcGIS Data Interoperability 10.5.1 for DesktopDataInteroperability
ArcGIS Data Reviewer for DesktopDatareviewer
ArcGIS for Aviation:AirportsAirports
ArcGIS for Aviation:ChartingAeronautical
ArcGIS for Maritime:BathymetryBathymetry
ArcGIS for Maritime:ChartingNautical
ArcGIS Geostatistical AnalystGeoStats
ArcGIS Network AnalystNetwork
ArcGIS Spatial AnalystSpatial
ArcGIS SchematicsSchematics
ArcGIS Tracking AnalystTracking
ArcGIS Workflow Manager for DesktopJTX
ArcScanArcScan
Business AnalystBusiness
Esri Defense MappingDefense
Esri Production MappingFoundation
Esri Roads and HighwaysHighways
StreetMapStreetMap

参考链接:

Technical Support | Error: 000824: The tool is not licensed
Geonet Discussion | ERROR 000824: The tool is not licensed.
Geographic Information Systems Stack Exchange
ArcGIS Help | Accessing licenses and extensions in Python

The article has been posted for too long and comments have been automatically closed.