Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

spatial license "NotLicensed" in stand alone script...

$
0
0
... but fine (Available) when I debug the script in a python IDE.

In this doc on page 116, I read that the setting of product and extensions is necessary only within stand alone scripts.

So in my py script, I first do the full check for the spatial analyst license, but it fails when I call this script from a command window.

If I open administrator, and see what I have installed, Spatial Analyst is there: Installed, Authorized and Permanent (non expiring). Single Use, so no license server to point at.

Does anyone have any hints about how I can solve this?

Thanks,
Mike

Viewing all articles
Browse latest Browse all 2485