<?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 idle not working and issues with import arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-idle-not-working-and-issues-with-import/m-p/39806#M3173</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved my problem.&amp;nbsp; I have 2.4 and 2.5 on my system that I use for writing code for other purposes and that I have not removed yet.&amp;nbsp; I did have to change my path variable to indicate &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;c:\PYthon26\arcgis10.0\.; (the semi-colon separates one value from the next in the path)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I have a PYTHONHOME variable that needed to be set to c:\Python26\arcgis10.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy works fine when IDLE appears&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I may have to change my PYTHONHOME for other programs that use older versions of Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Dec 2010 01:07:56 GMT</pubDate>
    <dc:creator>NathanJennings</dc:creator>
    <dc:date>2010-12-21T01:07:56Z</dc:date>
    <item>
      <title>python idle not working and issues with import arcpy</title>
      <link>https://community.esri.com/t5/python-questions/python-idle-not-working-and-issues-with-import/m-p/39805#M3172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just upgraded to ArcGIS 10.&amp;nbsp; Ran the install.&amp;nbsp; Installed most of the extensions as well as the Python 2.6.5 in the default.&amp;nbsp; Everything installed fine.&amp;nbsp; I can bring up the Python shell inside of ArcGIS, but I want to bring up Python IDLE to do scripting like I have been able to in the past.&amp;nbsp; I do have Python 2.5 and 2.4 currently installed as well since some of the work I do uses older versions of Python.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I go to Start Program--ArcGIS--Python2.6--Python IDLE, nothing happens.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, I ran Python from command line and then ran the import arcpy at the Python prompt and I received a message that the module did not exist.&amp;nbsp; Running the same command within ArcGIS and the Python shell works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be great, since I will likely have students with the same problem.&amp;nbsp; I would hope the launching of IDLE from within the Start Programs would work without issue.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any special reason why Python 2.6 needs to have ArcGIS10.0 subdirectory with all of the Python install files?&amp;nbsp; I may need Python 2.6 for other needs and would like to have Python usable for more than just ArcGIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for any insight, feedback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nate&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, can&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Dec 2010 18:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-idle-not-working-and-issues-with-import/m-p/39805#M3172</guid>
      <dc:creator>NathanJennings</dc:creator>
      <dc:date>2010-12-20T18:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: python idle not working and issues with import arcpy</title>
      <link>https://community.esri.com/t5/python-questions/python-idle-not-working-and-issues-with-import/m-p/39806#M3173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved my problem.&amp;nbsp; I have 2.4 and 2.5 on my system that I use for writing code for other purposes and that I have not removed yet.&amp;nbsp; I did have to change my path variable to indicate &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;c:\PYthon26\arcgis10.0\.; (the semi-colon separates one value from the next in the path)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I have a PYTHONHOME variable that needed to be set to c:\Python26\arcgis10.0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import arcpy works fine when IDLE appears&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I may have to change my PYTHONHOME for other programs that use older versions of Python.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 01:07:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-idle-not-working-and-issues-with-import/m-p/39806#M3173</guid>
      <dc:creator>NathanJennings</dc:creator>
      <dc:date>2010-12-21T01:07:56Z</dc:date>
    </item>
  </channel>
</rss>

