<?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 Error with arcpy module in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277211#M21382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue with the arcpy module not working in Python.&amp;nbsp; I have been using Python scripts for the past 4 months and just last week the arcpy module stopped working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the error I receive. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: No module named arcpy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jun 2012 13:30:11 GMT</pubDate>
    <dc:creator>NickMeyers</dc:creator>
    <dc:date>2012-06-22T13:30:11Z</dc:date>
    <item>
      <title>Error with arcpy module</title>
      <link>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277211#M21382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having an issue with the arcpy module not working in Python.&amp;nbsp; I have been using Python scripts for the past 4 months and just last week the arcpy module stopped working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the error I receive. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ImportError: No module named arcpy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 13:30:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277211#M21382</guid>
      <dc:creator>NickMeyers</dc:creator>
      <dc:date>2012-06-22T13:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error with arcpy module</title>
      <link>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277212#M21383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Strange. That's the error you'd get if you didn't have ArcGIS installed on the machine. A few questions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Does ArcMap start up normally?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Does 'import os' work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Does 'import arcpy' work in the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002100000017000000"&gt;python window&lt;/A&gt;&lt;SPAN&gt; of ArcMap?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could try checking to make sure your python shell has access to the arcpy directory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jun 2012 16:58:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277212#M21383</guid>
      <dc:creator>JoshuaChisholm</dc:creator>
      <dc:date>2012-06-22T16:58:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error with arcpy module</title>
      <link>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277213#M21384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem in IDLE and it started after loading the pre-release for 10.1.&amp;nbsp; I followed the directions to make sure the pathways in the Desktop10.1.pth file were correct as indicated on this site (&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.1/index.html#//002z00000008000000"&gt;http://resources.arcgis.com/en/help/main/10.1/index.html#//002z00000008000000&lt;/A&gt;&lt;SPAN&gt;) but that did not help.&amp;nbsp; I rebooted just in case but that did not resolve anything.&amp;nbsp; I have searched various online sites but have not found any other solution.&amp;nbsp; In IDLE import os works.&amp;nbsp; Import arcpy does work in the python window of ArcCatalog.&amp;nbsp; How would I check to see if the IDLE Python shell has access to the arcpy directory?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 17:54:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277213#M21384</guid>
      <dc:creator>JoannaWhittier</dc:creator>
      <dc:date>2012-06-27T17:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error with arcpy module</title>
      <link>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277214#M21385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you running the python script in IDLE?&amp;nbsp; Is it possible that a newer version of Python was installed?&amp;nbsp; If you are using a shell to run the python script, check the pathways that are being used (in the IDLE shell, look under the File menu for path browser).&amp;nbsp; I ran into a problem after upgrading to 10.1 but when I opened a .py file, my computer defaulted to python 2.6 instead of python 2.7 which is used by 10.1.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 18:08:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277214#M21385</guid>
      <dc:creator>JoannaWhittier</dc:creator>
      <dc:date>2012-06-27T18:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error with arcpy module</title>
      <link>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277215#M21386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I actually just ran into this problem on a public computer yesterday. For some reason there were two copies of IDLE on the system. The one under 'Start&amp;gt;Program Files&amp;gt;Python26' wouldn't "import arcpy", but the one under 'Start&amp;gt;Program Files&amp;gt;ArcGIS&amp;gt;...&amp;gt;IDLE (Python GUI)' did work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a quick something to try out. Good luck, and let us know if you get it working or not!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 18:35:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277215#M21386</guid>
      <dc:creator>JoshuaChisholm</dc:creator>
      <dc:date>2012-06-27T18:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error with arcpy module</title>
      <link>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277216#M21387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I resolved the issue by doing a complete uninstall and reinstall.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2012 14:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/error-with-arcpy-module/m-p/277216#M21387</guid>
      <dc:creator>NickMeyers</dc:creator>
      <dc:date>2012-11-19T14:18:22Z</dc:date>
    </item>
  </channel>
</rss>

