010096: There is no Spatial Analyst license currently available or enabled.

Description

The tool requires a Spatial Analyst extension license. These are conditions where a license may not be available:

  1. The extension was not installed.
  2. The extension was not enabled.
  3. There is not a license available to be checked out for use.

Solution

The following solutions correspond to the conditions listed:

  1. Install the extension. Consult the ArcGIS installation guide or contact your system administrator.
  2. Check the Use extensions section of the help for assistance with activating the extension.
  3. If Spatial Analyst has been enabled, other users on your network may be using all the available licenses. You could see whether someone who is not actively using the extension can close their session. If this is a frequent occurrence, you could consider acquiring more licenses.
Note:

If you are trying to run Spatial Analyst in a script, use the CheckOutExtension function for more information on how to obtain licenses in your code.