Spatial Analyst not Available in Arcgis Pro 2.5.1

549
3
Jump to solution
07-01-2020 10:32 AM
WadeWall
Occasional Contributor

Hi all,

 I am having a problem checking out spatial analyst in arcgis Pro 2.5.1. I have access to spatial analyst, and when I run arcpy from the python command prompt outside the arcgis GUI, arcpy.CheckOutExtension("Spatial")== "Available" return TRUE. However, when using the arcgis Pro GUI, arcpy.CheckOutExtension("Spatial")== "Available" within the Python console in the GUI returns TRUE. This seems like a strange occurrence and not sure how to solve it. Any help would be appreciated.

0 Kudos
1 Solution

Accepted Solutions
WadeWall
Occasional Contributor

Hi all,

I am not sure why it wasn't working, but when the license administrator went in and unchecked and then rechecked Spatial Analyst, it started working.

View solution in original post

0 Kudos
3 Replies
WadeWall
Occasional Contributor

I meant to say that, within the GUI, arcpy.CheckOutExtension("Spatial")== "Available" returns FALSE.

0 Kudos
DanPatterson
MVP Esteemed Contributor

I don't have to check in/out extensions but

arcpy.CheckExtension("Spatial")
'Available'

works in jupyter notebook and jupyterlab, the python thing in Pro, Spyder, jupyter console.


... sort of retired...
0 Kudos
WadeWall
Occasional Contributor

Hi all,

I am not sure why it wasn't working, but when the license administrator went in and unchecked and then rechecked Spatial Analyst, it started working.

0 Kudos