WineMonk / WineMonk.github.io

blog
1 stars 0 forks source link

Arcpy 调用gp分析工具提示未获得许可 | WineMonk #188

Open WineMonk opened 1 year ago

WineMonk commented 1 year ago

https://shaoshao.net.cn/2023/05/22/20230522133426417/

Arcpy 调用gp分析工具提示未获得许可 解决方法:调用gp分析工具前,添加如下代码 12if arcpy.CheckExtension("spatial") == "Available": arcpy.CheckOutExtension("spatial")