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.
Solved! Go to Solution.
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.
I meant to say that, within the GUI, arcpy.CheckOutExtension("Spatial")== "Available" returns FALSE.
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.
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.