Is the import arceditor bug back in python 3 with ArcGIS Pro?

704
2
07-17-2018 04:51 AM
Robertvan_Gilst
New Contributor III

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

0 Kudos
2 Replies
DanPatterson_Retired
MVP Emeritus
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

0 Kudos
Robertvan_Gilst
New Contributor III

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.

0 Kudos