GeoEco.ArcGIS.GeoprocessorManager.GetArcGISVersion

classmethod GeoprocessorManager.GetArcGISVersion()

Returns the major, minor, and patch version numbers of the installed copy of ArcGIS.

The version numbers are extracted from the Version key of the dictionary returned by GetInstallInfo(), unless a ProVersion key exists, which will happen if ArcGIS Server is installed, in which case ProVersion will be used. This means that if ArcGIS Server is installed, the version numbers will be based on the version of ArcGIS Pro that Server is compatible with, not on the version numbers of ArcGIS Server itself.

Raises:

SoftwareNotInstalledError – ArcGIS does not appear to be installed.

Returns:

A tuple containing the major, minor, and patch version numbers of the installed copy of ArcGIS.

Return type:

tuple of int