I am running Esktop 10.5 and Python27. I have arcpy working fine from my IDE but
when I try to run the following, I get an error:
myNear = arcpy.Near_analysis(school_layer,tri_layer,"5000 meters")
The error says:
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000824: The tool is not licensed.
Failed to execute (Near).
I tried looking this up in stack exchange, but the best that I could come up with is that 1) Either Near_analysis is part of some extension that requires an additional licnese/payment or 2) There is something incorrect about the parameters being used. Any ideas?