GIS Object Has No Attribute 'admin'
The ArcGIS API for Python is a powerful, modern and easy to use Pythonic library to perform GIS visualization and analysis, spatial data management and GIS system administration tasks that can run both in an interactive fashion, as well as using scripts.
gismodule acts as a representation of your GIS. It forms the entry point to your scripst and gives you the ability to manage users, groups and content.
There are a lot of changes in ArcGIS Python API 1.2 than 1.0. E.g,
gis.admin module is new, it can allow a better management for adminiatrators of their accounts.
pro_license = gis.admin.license.get('ArcGIS Pro')
Arcgis python API Version 1.2 introduces a new
admin module. Lower versions need to be upgraded to call
Ungrade the API in command line:
conda upgrade -c esri arcgis