<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PYTHON - No Module named gis in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/59898#M4760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You answer your own question, i.e., "trying to run this script thru Python 2.7.13 IDLE..."&amp;nbsp; ArcGIS Pro is bundled with Python 3, so if you are using Python 2.7.13 IDLE, it means you are running the code from some other Python 2 distribution on the machine.&amp;nbsp; Make sure you open the right IDLE application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Aug 2020 17:45:20 GMT</pubDate>
    <dc:creator>JoshuaBixby</dc:creator>
    <dc:date>2020-08-25T17:45:20Z</dc:date>
    <item>
      <title>PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/59897#M4759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Trying to run this script thru Python 2.7.13 IDLE and keep getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ImportError: No module named GIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 16:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/59897#M4759</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2020-08-25T16:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/59898#M4760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You answer your own question, i.e., "trying to run this script thru Python 2.7.13 IDLE..."&amp;nbsp; ArcGIS Pro is bundled with Python 3, so if you are using Python 2.7.13 IDLE, it means you are running the code from some other Python 2 distribution on the machine.&amp;nbsp; Make sure you open the right IDLE application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:45:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/59898#M4760</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-08-25T17:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/59899#M4761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll&amp;nbsp;need to run the script in a python environment that was set up in ArcGIS Pro, which deploys python 3.x as well as the ArcGIS Python API.&amp;nbsp; The GIS module is within the API not Arcpy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&lt;A class="link-titled" href="https://support.esri.com/en/technical-article/000023164" title="https://support.esri.com/en/technical-article/000023164"&gt;How To: Overwrite hosted feature services from ArcGIS Pro to ArcGIS Online using Python&lt;/A&gt;&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="background-color: #ffffff; color: #595959; "&gt;It is possible to overwrite a hosted feature service using the arcgis.gis.module as a workaround. The module is used to overcome the known limitation of the ArcPy module, with ArcGIS Online credentials in a Python script. The Python script allows the process to be automated. However, Python 3, which is included in an ArcGIS Pro installation, is required.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check these out:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/labs/?product=python&amp;amp;topic=any"&gt;https://developers.arcgis.com/labs/?product=python&amp;amp;topic=any&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/" title="https://developers.arcgis.com/python/"&gt;ArcGIS API for Python | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/labs/python/download-data/" title="https://developers.arcgis.com/labs/python/download-data/"&gt;Download data | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many if not all of the tutorials will have you working in a notebook, but you can really use any IDE you wish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2020 17:48:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/59899#M4761</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-08-25T17:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1074647#M61531</link>
      <description>&lt;P&gt;I have the same error as&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/10620"&gt;@ModernElectric&lt;/a&gt;&amp;nbsp;but the conda list also brings up an error (SyntaxError).&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SharonUngerer_DNREC_0-1625142909227.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17483iFDD0B2EA396583FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SharonUngerer_DNREC_0-1625142909227.png" alt="SharonUngerer_DNREC_0-1625142909227.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SharonUngerer_DNREC_1-1625142935831.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/17484i80AF06037E86EA11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SharonUngerer_DNREC_1-1625142935831.png" alt="SharonUngerer_DNREC_1-1625142935831.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am relatively new to using Python is there a step I am missing?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 12:37:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1074647#M61531</guid>
      <dc:creator>SharonUngerer_DNREC</dc:creator>
      <dc:date>2021-07-01T12:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1074702#M61532</link>
      <description>&lt;P&gt;You provided a screenshot of a Jupyter notebook, is that the Jupyter that gets installed with Pro or do you possibly have other Python distributions on your machine that have Jupyter included too?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 14:08:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1074702#M61532</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-07-01T14:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1076026#M61584</link>
      <description>&lt;P&gt;It is the Jupyter notebook that was installed with Pro&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 19:59:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1076026#M61584</guid>
      <dc:creator>SharonUngerer_DNREC</dc:creator>
      <dc:date>2021-07-06T19:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1181581#M64741</link>
      <description>&lt;P&gt;Add this first: from arcgis.gis import GIS‍‍&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 18:49:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1181581#M64741</guid>
      <dc:creator>sgharehchahi_jaxstate</dc:creator>
      <dc:date>2022-06-09T18:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1243691#M66342</link>
      <description>&lt;P&gt;Hello all - I have a similar issue that is hard to make sense to me.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I installed Python 3.9.13 and then installed ArcGIS API for python by using pip install arcgis&lt;/P&gt;&lt;P&gt;2. the test codes works fine with python environment&lt;/P&gt;&lt;P&gt;3, but the same codes does not work in visual studio 2022, saying&amp;nbsp;No module named 'arcgis.gis'; 'arcgis' is not a package&lt;/P&gt;&lt;P&gt;4.the same test codes work in python interpreter in visual studio 2022&lt;/P&gt;&lt;P&gt;5. Had used the same way installed many other packages such as Qt, pandas, all works fine in Visual Studio 2022.&amp;nbsp; But ArcGIS API for Python failed.&lt;/P&gt;&lt;P&gt;Really appreciate any idea.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shquing&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="works in python interpreter in visual studio 2022" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59269i1821393B05594EDA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="works in python interpreter in visual studio 2022" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;works in python interpreter in visual studio 2022&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="works in python interpreter" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59267iFF8C02751977232F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="works in python interpreter" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;works in python interpreter&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="does not work in visual studio 2022" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59268i6395E6DE1555D696/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="does not work in visual studio 2022" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;does not work in visual studio 2022&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 03:13:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1243691#M66342</guid>
      <dc:creator>swang</dc:creator>
      <dc:date>2022-12-26T03:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1243692#M66343</link>
      <description>&lt;P&gt;it also works fine in Jupyter&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 03:14:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1243692#M66343</guid>
      <dc:creator>swang</dc:creator>
      <dc:date>2022-12-26T03:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1247492#M66513</link>
      <description>&lt;P&gt;I am using IBM Watson Studio and using python 3.9 and no notebooks/jobs have completed since 1/9 due to the error. Anyone know a fix?&lt;/P&gt;&lt;PRE&gt;No module named 'geomet.esri'&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jan 2023 22:51:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1247492#M66513</guid>
      <dc:creator>JeffGawrych</dc:creator>
      <dc:date>2023-01-11T22:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: PYTHON - No Module named gis</title>
      <link>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1551194#M73077</link>
      <description>&lt;P&gt;Old reply to this post but I see some mistakes in here.&lt;BR /&gt;You can't name the file &lt;STRONG&gt;arcgis.py&lt;/STRONG&gt; because then you are trying to import arcgis.gis from your own file.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 10:03:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-no-module-named-gis/m-p/1551194#M73077</guid>
      <dc:creator>TomasBjörklund</dc:creator>
      <dc:date>2024-10-23T10:03:43Z</dc:date>
    </item>
  </channel>
</rss>

