<?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: Import arcpy (Py2.7.16 x32Arc107) or arcgis (Py3.6.2-x64Pro) in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214756#M16538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your title you ask about&amp;nbsp;&lt;SPAN style="font-size: 15px;"&gt;(Py2.7.16 x32Arc107) or arcgis (Py3.6.2-x64Pro). Python 2.7 will no longer be getting&amp;nbsp;updates, bug fixes or security fixes as of 1 Jan 2020. (&lt;A class="link-titled" href="https://pythonclock.org/" title="https://pythonclock.org/"&gt;Python 2.7 Countdown&lt;/A&gt;&amp;nbsp;) So my first recommendation for someone getting started with python is Python 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;If you open up ArcGIS Pro and Click on Project in the toolbar then Click Python you can see where ArcGIS Pro installs its version of Python.&amp;nbsp; There is lots of information here&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm"&gt;Python in ArcGIS Pro—ArcPy Get Started | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;If you run this version of python you will be able to '&lt;EM&gt;import arcpy'&lt;/EM&gt; and '&lt;SPAN style="background-color: #ffffff;"&gt;from ArcGIS.gis import GIS' (This won't work due to the case sensitivity of python! Use from 'arcgis.gis import GIS' instead!)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px; "&gt;Good luck with python, its one of my favorite programming languages as it simplifies a lot of things!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px; "&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px; "&gt;Ben&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2019 00:21:03 GMT</pubDate>
    <dc:creator>BenTurrell</dc:creator>
    <dc:date>2019-11-21T00:21:03Z</dc:date>
    <item>
      <title>Import arcpy (Py2.7.16 x32Arc107) or arcgis (Py3.6.2-x64Pro)</title>
      <link>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214755#M16537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear Readers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for taking the time to read through my question.&amp;nbsp; I am trying to start with a sample code with python script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Which python interpreter should be used 2.7.x (32 bit) that came with ArcGIS 10.x (6 or higher) or Py 2.7 (x64)?&lt;OL&gt;&lt;LI&gt;will import arcpy work on that?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;I am unable to import ArcGIS module or use 'from ArcGIS.gis import GIS'&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;if I make ArcGIS module work by changing it to 3.6.2 (conda) version then my arcPy goes away.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have both ArcGIS pro and ArcGIS desktop advanced suite running on my workstation and virtual machine.&amp;nbsp; yes, I am beginner in Python but many years experience with ESRI objects and 'ArcObjects'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any documentation or guidance would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravi kaushika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2019 23:38:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214755#M16537</guid>
      <dc:creator>Ravichandran_M_Kaushika</dc:creator>
      <dc:date>2019-11-20T23:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Import arcpy (Py2.7.16 x32Arc107) or arcgis (Py3.6.2-x64Pro)</title>
      <link>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214756#M16538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your title you ask about&amp;nbsp;&lt;SPAN style="font-size: 15px;"&gt;(Py2.7.16 x32Arc107) or arcgis (Py3.6.2-x64Pro). Python 2.7 will no longer be getting&amp;nbsp;updates, bug fixes or security fixes as of 1 Jan 2020. (&lt;A class="link-titled" href="https://pythonclock.org/" title="https://pythonclock.org/"&gt;Python 2.7 Countdown&lt;/A&gt;&amp;nbsp;) So my first recommendation for someone getting started with python is Python 3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;If you open up ArcGIS Pro and Click on Project in the toolbar then Click Python you can see where ArcGIS Pro installs its version of Python.&amp;nbsp; There is lots of information here&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/get-started/installing-python-for-arcgis-pro.htm"&gt;Python in ArcGIS Pro—ArcPy Get Started | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;If you run this version of python you will be able to '&lt;EM&gt;import arcpy'&lt;/EM&gt; and '&lt;SPAN style="background-color: #ffffff;"&gt;from ArcGIS.gis import GIS' (This won't work due to the case sensitivity of python! Use from 'arcgis.gis import GIS' instead!)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px; "&gt;Good luck with python, its one of my favorite programming languages as it simplifies a lot of things!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px; "&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; font-size: 15px; "&gt;Ben&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 00:21:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214756#M16538</guid>
      <dc:creator>BenTurrell</dc:creator>
      <dc:date>2019-11-21T00:21:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import arcpy (Py2.7.16 x32Arc107) or arcgis (Py3.6.2-x64Pro)</title>
      <link>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214757#M16539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whether you clone or not, you will have to install or associate a python IDE with ArcGIS Pro&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/12/28/clone"&gt;/blogs/dan_patterson/2018/12/28/clone&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2019/06/28/arcgis-pro-24-installation-package-updates-and-installs"&gt;/blogs/dan_patterson/2019/06/28/arcgis-pro-24-installation-package-updates-and-installs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/07/01/arcgis-pro-your-conda-environments"&gt;/blogs/dan_patterson/2018/07/01/arcgis-pro-your-conda-environments&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I prefer spyder for my python IDE whether in the base environment or in a clone.&lt;/P&gt;&lt;P&gt;I also have Jupyter console, Jupyter Notebook, JupyterLab and PythonWin installed and running&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/blogs/dan_patterson/2018/12/13/spyder"&gt;/blogs/dan_patterson/2018/12/13/spyder&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes... leave ArcMap and python 2.7,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Python 3 is almost 10 years old and 3.9 is in development.&amp;nbsp; Current ArcGIS Pro version (2.5 beta) is python 3.6.9&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 05:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214757#M16539</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-11-21T05:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Import arcpy (Py2.7.16 x32Arc107) or arcgis (Py3.6.2-x64Pro)</title>
      <link>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214758#M16540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I could not mark your answer correct. I made it helpful and liked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the prompt reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 16:55:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/import-arcpy-py2-7-16-x32arc107-or-arcgis-py3-6-2/m-p/214758#M16540</guid>
      <dc:creator>Ravichandran_M_Kaushika</dc:creator>
      <dc:date>2019-11-21T16:55:06Z</dc:date>
    </item>
  </channel>
</rss>

