When using the following code using the python interpreter from ArcGIS Pro:
import arceditor import arcpy print(arcpy.ProductInfo())
The result is:
When running using ArcGis Desktop 10.6 python it shows the expected result:
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?
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