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.