<?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: How can I get the arcpy module to load in python 3.6? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717622#M117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I thought it would work.&amp;nbsp; Both&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;seem to work in python 3.5.3&lt;/P&gt;&lt;P&gt;At least the import command does not fail.&lt;/P&gt;&lt;P&gt;However the command&lt;BR /&gt;gis = GIS("&lt;A href="http://summitcountyco.maps.arcgis.com/home/index.html"&gt;http://summitcountyco.maps.arcgis.com/home/index.html&lt;/A&gt;", "UserName", "Password")&lt;/P&gt;&lt;P&gt;Throws a&amp;nbsp;404 error.&amp;nbsp; It does work however in python 3.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But import arcpy does not work in 3.6. "Can't find the module."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I gonna have to use two different versions of python?&amp;nbsp; Odd that arcpy does not work, I thought it was one of the most basic modules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Aug 2017 20:55:58 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2017-08-10T20:55:58Z</dc:date>
    <item>
      <title>How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717616#M111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;import arcpy &lt;/P&gt;&lt;P&gt;Does not work in 3.6 python.&amp;nbsp; I really need&amp;nbsp;to get it to work&amp;nbsp;or it's new version.&amp;nbsp; Very new to Python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's odd, when I look at installed programs, it says I have 3.6 python.&amp;nbsp; Running Python in a command window says it's 3.6.&lt;/P&gt;&lt;P&gt;However, when I open IDLE, it says it's using Python 2.7.8.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bit out of my element.&amp;nbsp; I'm a VB/JScript programmer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 14:45:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717616#M111</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-07T14:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717617#M112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to use the python distribution that comes with ArcMap (2.7.x) or ArcGIS Pro (3.5.x).&lt;/P&gt;&lt;P&gt;You can spend a whole load of time trying to patch a solution which is fine if you have more time than needs.&amp;nbsp; The differences between 3.5.x and 3.6 or 3.7 won't manifest themselves as important for ArcMap or ArcGIS Pro.&lt;/P&gt;&lt;P&gt;Pro installs an Anaconda distribution which has been tailored to esri specifications.&lt;/P&gt;&lt;P&gt;I keep a separate Anaconda distribution (installed separately) for pure python work for 3.6/3.7 and associated models.&lt;/P&gt;&lt;P&gt;I would recommend you uninstall all versions of python, then install arcmap and ArcGIS pro... they will handle everything.&amp;nbsp; You can then setup your favourite IDE to use either, but Spyder is sweet for working with Pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 17:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717617#M112</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-07T17:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717618#M113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've ArcMap 10.3 and pro installed.&amp;nbsp; The python version is 3.6, as per 'Windows Programs and Features'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a bit befuddled that if I just start a windows command window, launch python (says it's 3.6)&amp;nbsp;and key in import arcpy, I get an error- ModuleNotFoundError: No module name 'arcpy'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I launch IDLE, it says it's working in python 2.7.&amp;nbsp; And import arcpy works just fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You think reinstalling ArcMap and ArcPro will help?&amp;nbsp; That's kindof a pain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 18:02:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717618#M113</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-07T18:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717619#M114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;because IDLE is arcmap's default, since it is installed in the proper path.&lt;/P&gt;&lt;P&gt;I would upgrade ArcMap to 10.5.1 and install ArcPro 2.0 if you have an adequate machine and the ability to do so&lt;/P&gt;&lt;P&gt;Pro &amp;nbsp;&lt;A href="http://pro.arcgis.com/en/pro-app/get-started/arcgis-pro-system-requirements.htm"&gt;http://pro.arcgis.com/en/pro-app/get-started/arcgis-pro-system-requirements.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;ArcMap&amp;nbsp;&lt;A href="http://desktop.arcgis.com/en/arcmap/latest/get-started/setup/arcgis-desktop-system-requirements.htm"&gt;http://desktop.arcgis.com/en/arcmap/latest/get-started/setup/arcgis-desktop-system-requirements.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Then see my blog for several links on how to get Spyder as your ide... or you can use conda or pip to install others (and there are other links for others elsewhere)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS&amp;nbsp; a clean install will entail removing all remnants of an esri or arcmap folder in your system after the install&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 18:51:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717619#M114</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-07T18:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717620#M115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is driving your Python 3.6 requirement?&amp;nbsp; The only way to run ArcPy safely with Python 3.x is by installing ArcGIS Pro, and ArcGIS Pro is currently bundled with Python 3.5.&amp;nbsp; If you absolutely have to run Python 3.6, you won't be running a supported platform, even if you can get it working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 19:02:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717620#M115</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-08-07T19:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717621#M116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha.&amp;nbsp; I do have Arcpro installed (10.4.7), going to the install directory for python for ArcPro, and just running it in command line I can import the two modules I need.&amp;nbsp; It's Python 3.5.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&amp;nbsp; I assume I can launch python from within ArcPro?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll be gone for two days, but will keep an eye on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 19:42:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717621#M116</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-07T19:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717622#M117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I thought it would work.&amp;nbsp; Both&lt;/P&gt;&lt;P&gt;import arcpy&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;/P&gt;&lt;P&gt;seem to work in python 3.5.3&lt;/P&gt;&lt;P&gt;At least the import command does not fail.&lt;/P&gt;&lt;P&gt;However the command&lt;BR /&gt;gis = GIS("&lt;A href="http://summitcountyco.maps.arcgis.com/home/index.html"&gt;http://summitcountyco.maps.arcgis.com/home/index.html&lt;/A&gt;", "UserName", "Password")&lt;/P&gt;&lt;P&gt;Throws a&amp;nbsp;404 error.&amp;nbsp; It does work however in python 3.6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But import arcpy does not work in 3.6. "Can't find the module."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I gonna have to use two different versions of python?&amp;nbsp; Odd that arcpy does not work, I thought it was one of the most basic modules.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 20:55:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717622#M117</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-08-10T20:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717623#M118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I suspect that the previous installation is still lurking around.&amp;nbsp; As advised, it is best to remove previous installations of python and get a clean install of python and related modules.&amp;nbsp; If you want to use an IDE, then IPython and Spyder can be used...&lt;A _jive_internal="true" href="https://community.esri.com/blogs/dan_patterson/2017/07/01/arcgis-pro-2-creating-desktop-shortcuts"&gt;&lt;STRONG&gt; my blog post&lt;/STRONG&gt; &lt;/A&gt;gives one example of setting up those IDEs so they can work as standalone applications and/or in conjunction with Pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 21:40:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717623#M118</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-10T21:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717624#M119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have similar problems. After installed arcgis pro, got an error of ''unable to import arcpy'' but it was working okay before. The problem was solved after re-install arcmap.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 02:39:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717624#M119</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-02-26T02:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717625#M120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try typing the following...&lt;/P&gt;&lt;P&gt;import arcpy.mp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Python 3.x has changed the naming somewhat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 18:13:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717625#M120</guid>
      <dc:creator>HaroldKrivell</dc:creator>
      <dc:date>2020-04-08T18:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717626#M121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although arcpy.mapping became arcpy.mp with ArcGIS Pro/Python 3; the base package name is still arcpy, so if someone can't import arcpy they won't be able to import arcpy.mp.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2020 18:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/717626#M121</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-04-08T18:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/1003622#M5229</link>
      <description>&lt;P&gt;@Anonymous User&amp;nbsp;Did you re-install arcmap, or arcgis pro? I have ArcMap 10.7, which I believe comes with Python 2.7. I also have ArcGIS Pro 10.2.5.1 which comes with Python 3.6. I can import arcpy if I am configured to Python 2.7, but not if I am configured to 3.6.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 20:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/1003622#M5229</guid>
      <dc:creator>jarm23</dc:creator>
      <dc:date>2020-11-20T20:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/1018244#M5456</link>
      <description>&lt;P&gt;I only re-installed arcmap and then it works.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 06:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/1018244#M5456</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-01-20T06:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the arcpy module to load in python 3.6?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/1018249#M5457</link>
      <description>&lt;P&gt;Hi Doug,&lt;/P&gt;&lt;P&gt;Python 2.7 is installed with ArcMap and Python 3.x is installed with ArcGIS Pro, because arcpy is proprietary you can't download it into a free standing installations of python you have to point to one of the deployments that is installed when installing ArcGIS for Desktop.&lt;/P&gt;&lt;P&gt;so just point your IDE to one of these deployments&lt;/P&gt;&lt;P&gt;ArcMap&lt;/P&gt;&lt;P&gt;"C:\Python27\ArcGIS10.8\python.exe"&lt;/P&gt;&lt;P&gt;ArcGIS Pro&lt;/P&gt;&lt;P&gt;"C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3\python.exe"&lt;/P&gt;&lt;P&gt;You can have a look at the ArcGIS API which is a available for installation e.g. pip install ArcGIS to see if this might fill your need.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/" target="_blank"&gt;ArcGIS API for Python | ArcGIS for Developers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using ArcGIS Desktop built in Python interpreter then just reinstall to try and fix the issue like&amp;nbsp;@Anonymous User&amp;nbsp; mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2021 06:28:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/how-can-i-get-the-arcpy-module-to-load-in-python-3/m-p/1018249#M5457</guid>
      <dc:creator>HenryLindemann</dc:creator>
      <dc:date>2021-01-20T06:28:13Z</dc:date>
    </item>
  </channel>
</rss>

