获得版本 print(arcpy.GetInstallInfo()['Version'])
https://github.com/esri/arcgis-pro-sdk-community-samples