PYTHON使用arcpy出现“Error 000824: The tool is not licensed”
目录
今天在使用arcpy的空间分析模块时,出现licenses错误。
错误如下:
Error 000824: The tool is not licensed
解决办法:
# Check out any necessary licenses
arcpy.CheckOutExtension(“spatial”)
查了下原因,大概是尽管ArcGIS已经有了这个的license也添加了,但外部使用这个模块时必须先check,但这个脚本之前在其它电脑上能正常运行,换了电脑缺出现问题了!所以还可能和版本也有关系,之前用的ArcGIS10.3,现在用的10.1,python都是用的配套版本。
转载自:https://blog.csdn.net/hj028/article/details/51933103