When using the following code using the python interpreter from ArcGIS Pro:
import arceditor
import arcpy
print(arcpy.ProductInfo())
The result is:
ArcInfo
When running using ArcGis Desktop 10.6 python it shows the expected result:
ArcEditor
I experienced this bug before in the 10.3 release of ArcGIS Desktop.
Is this the correct behavior for ArcGIS Pro related python? Or is it the old bug acting up again?
- Robert
import arceditor
import arcpy
print(arcpy.ProductInfo())
__main__:1: DeprecationWarning: Product and extension licensing is no longer handled with this method.
ArcInfo
For me... but the deprecation warning is in affect
Thanks.
Found this on licensing in ArcGIS Pro. It does not sound like there is an option of setting what license to use anymore, only on checking what licenses there are available.