<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to resolve this error message: &amp;quot;ERROR 000824: The tool is not licensed.&amp;quot;? in ArcGIS GeoStatistical Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-to-resolve-this-error-message-quot-error/m-p/1545862#M1839</link>
    <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a script that would auto-generate a interpolated groundwater raster using Empirical Bayesian Kriging. When I try to run a geostatistical tool, I keep getting this error:&lt;/P&gt;&lt;PRE&gt;ERROR 000824: The tool is not licensed.&lt;/PRE&gt;&lt;P&gt;This is where the error occuring:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;gw_interpolated_lyr = ap.ga.EmpiricalBayesianKriging(gw_fc,field,None,gw_raster)&lt;/LI-CODE&gt;&lt;P&gt;I checked the activated environment to ensure it as the proper libraries to activate the geostatistical tools. I also checked ArcGIS Pro to make sure the license is checked-out. Both is true. I wrote the script below to try to resolve the problem, but it keeps giving me the same output below.&amp;nbsp; Has this same error occur to anyone and how did you fix the problem?&amp;nbsp;What are the common problems this error would occur? Thanks Everyone!&lt;/P&gt;&lt;PRE&gt;Geostatistical license is in an unknown state. Please verify the license configuration.
Spatial license is available and checked out.&lt;/PRE&gt;&lt;LI-CODE lang="python"&gt;# Check if the Geostatistical &amp;amp; Spatial Analyst license is available
def extension_checkout(extension):
    status = ap.CheckExtension(extension)
    if status == "Available":
        ap.CheckOutExtension(extension)
        print(f"{extension} license is available and checked out.")
    elif status == "Checked Out":
        print(f"{extension} license is currently checked out.")
    else:
        ap.CheckOutExtension("geostatistical")
        print(f"{extension} license is in an unknown state. Please verify the license configuration.")
        
#Check if Geostatistical Analysts license is checked out
extension_checkout("Geostatistical")

#Check if Spatial Analysts license is checked out
extension_checkout("Spatial")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 04 Oct 2024 22:29:30 GMT</pubDate>
    <dc:creator>tzz_12</dc:creator>
    <dc:date>2024-10-04T22:29:30Z</dc:date>
    <item>
      <title>How to resolve this error message: "ERROR 000824: The tool is not licensed."?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-to-resolve-this-error-message-quot-error/m-p/1545862#M1839</link>
      <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm developing a script that would auto-generate a interpolated groundwater raster using Empirical Bayesian Kriging. When I try to run a geostatistical tool, I keep getting this error:&lt;/P&gt;&lt;PRE&gt;ERROR 000824: The tool is not licensed.&lt;/PRE&gt;&lt;P&gt;This is where the error occuring:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;gw_interpolated_lyr = ap.ga.EmpiricalBayesianKriging(gw_fc,field,None,gw_raster)&lt;/LI-CODE&gt;&lt;P&gt;I checked the activated environment to ensure it as the proper libraries to activate the geostatistical tools. I also checked ArcGIS Pro to make sure the license is checked-out. Both is true. I wrote the script below to try to resolve the problem, but it keeps giving me the same output below.&amp;nbsp; Has this same error occur to anyone and how did you fix the problem?&amp;nbsp;What are the common problems this error would occur? Thanks Everyone!&lt;/P&gt;&lt;PRE&gt;Geostatistical license is in an unknown state. Please verify the license configuration.
Spatial license is available and checked out.&lt;/PRE&gt;&lt;LI-CODE lang="python"&gt;# Check if the Geostatistical &amp;amp; Spatial Analyst license is available
def extension_checkout(extension):
    status = ap.CheckExtension(extension)
    if status == "Available":
        ap.CheckOutExtension(extension)
        print(f"{extension} license is available and checked out.")
    elif status == "Checked Out":
        print(f"{extension} license is currently checked out.")
    else:
        ap.CheckOutExtension("geostatistical")
        print(f"{extension} license is in an unknown state. Please verify the license configuration.")
        
#Check if Geostatistical Analysts license is checked out
extension_checkout("Geostatistical")

#Check if Spatial Analysts license is checked out
extension_checkout("Spatial")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Oct 2024 22:29:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-to-resolve-this-error-message-quot-error/m-p/1545862#M1839</guid>
      <dc:creator>tzz_12</dc:creator>
      <dc:date>2024-10-04T22:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to resolve this error message: "ERROR 000824: The tool is not licensed."?</title>
      <link>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-to-resolve-this-error-message-quot-error/m-p/1546262#M1840</link>
      <description>&lt;P&gt;Looking at this page -&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/functions/checkoutextension.htm" target="_blank" rel="noopener"&gt;CheckOutExtension—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;and the extension_code for Geostatistical Analyst is "&lt;SPAN&gt;GeoStats&lt;/SPAN&gt;" and you're using "geostatistical" and "Geostatistical".&amp;nbsp; Maybe this is the issue?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Oct 2024 18:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-geostatistical-analyst-questions/how-to-resolve-this-error-message-quot-error/m-p/1546262#M1840</guid>
      <dc:creator>BruceBacia</dc:creator>
      <dc:date>2024-10-07T18:57:46Z</dc:date>
    </item>
  </channel>
</rss>

