Error: 000824: The tool is not licensed
Running a Python script to launch geoprocessing tools returns the error:
Error: "000824: The tool is not licensed."
There are two possible reasons for this issue:
- The ArcGIS for Desktop version installed is not licensed for tools in an extension.
- The extension the tools are in is not checked out in the script. If this is the case, the tool is not available for use in the Python environment.
Solution or Workaround
Follow the suggested solutions provided to solve this issue:
- Ensure the installation of ArcGIS for Desktop is licensed to use the tool. For example, the Spatial ETL tool is only available with the ArcGIS Data Interoperability extension installed.
- Add the following code snippet to check-out the extension containing the tool before calling the tool for use:
import arcpy … arcpy.CheckOutExtension("[Extension name]") …
#Sample code import arcpy arcpy.CheckOutExtension("DataInteroperability") arcpy.KMLToGDBModel_DataInteropToolboxAlias(Source_Google_Earth_KML_File_or_URL_, Destination_Esri_File_Geodatabase_) ...
Note: Inserting the snippet after the code segment to run the tool results in the script reading the tool as being unavailable as the extension is not enabled.
Last Published: 3/19/2020
Article ID: 000013100
Software: ArcMap 10.8, 10.7.1, 10.7, 10.6.1, 10.6, 10.5.1, 10.5, 10.4.1, 10.4, 10.3.1, 10.3, 10.2.2, 10.2.1, 10.2, 10.1, 10