PYTHON - No Module named gis

10961
10
Jump to solution
08-25-2020 09:28 AM
ModernElectric
Frequent Contributor

I recently downloaded the Python Script - "Overwrite Hosted Feature Service" to update ArcGIS Online from ArcGIS Pro. I have been using Python Script(s) to update the data from ArcMAP, but starting to use ArcGIS Pro alot more for a variety of reasons. 

Trying to run this script thru Python 2.7.13 IDLE and keep getting this error:

   ImportError: No module named GIS.

Is there a way to correct this or is there a different script that I can download and run to update ArcGIS Online from ArcGIS Pro thru Python IDLE and using Window's Task Scheduler?

Thank You

0 Kudos
10 Replies
TomasBjörklund
Emerging Contributor

Old reply to this post but I see some mistakes in here.
You can't name the file arcgis.py because then you are trying to import arcgis.gis from your own file.

0 Kudos