AnsweredAssumed Answered

AttributeError: 'GIS' object has no attribute 'admin'

Question asked by jgustine on Oct 3, 2017
Latest reply on Jul 5, 2018 by rsm_ddms

Just starting to play around with the ArcGIS API for Python. I am stuck trying to call server submodule under the admin module. My install can't seem to find either. Just running thru this code on the reference page doesn't work for me.


from arcgis.gis import GIS

gis = GIS("", "username")
gis_servers = gis.admin.servers.list()

print (gis_servers)
gis doesn't give me access to an admin property

AttributeError: 'GIS' object has no attribute 'admin'

Any clues as to where I am going wrong here would be awesome. Probably something super simple
but thanks in advance.