<?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: Problem importing Arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/problem-importing-arcpy/m-p/301907#M23475</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might want to try some of the suggestions here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/23230-quot-ImportError-No-module-named-arcpy-quot-PYTHON"&gt;http://forums.arcgis.com/threads/23230-quot-ImportError-No-module-named-arcpy-quot-PYTHON&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jul 2012 23:47:53 GMT</pubDate>
    <dc:creator>SolomonPulapkura</dc:creator>
    <dc:date>2012-07-12T23:47:53Z</dc:date>
    <item>
      <title>Problem importing Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/problem-importing-arcpy/m-p/301906#M23474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am relatively new user of ArcGIS (a couple of years), and very new to the python language.&amp;nbsp;&amp;nbsp; I am doing what I can, but I can't seem to get very far because I can't import arcpy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is what my screen looks like using PythonWin:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-family:System;"&gt;PythonWin 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32.&lt;BR /&gt;Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; import sys&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;ImportError: No module named arcpy&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sys.path&lt;BR /&gt;['', 'C:\\Windows\\system32\\python26.zip', 'C:\\Python26\\ArcGIS10.0\\DLLs', 'C:\\Python26\\ArcGIS10.0\\lib', 'C:\\Python26\\ArcGIS10.0\\lib\\plat-win', 'C:\\Python26\\ArcGIS10.0\\lib\\lib-tk', 'C:\\Python26\\ArcGIS10.0\\Lib\\site-packages\\pythonwin', 'C:\\Python26\\ArcGIS10.0', 'C:\\Python26\\ArcGIS10.0\\lib\\site-packages', 'C:\\Python26\\ArcGIS10.0\\lib\\site-packages\\win32', 'C:\\Python26\\ArcGIS10.0\\lib\\site-packages\\win32\\lib']&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sys.path.append('C:\\Program Files (x86)\\ArcGIS\\Desktop10.0\\Bin')&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sys.path.append ('C:\\Program Files&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; (x86)\\ArcGIS\\Desktop10.0\\ArcToolBox\\Scripts')&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; sys.path.append('C:\\Program Files&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; (x86)\\ArcGIS\\Desktop10.0\\Arcpy')&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;ImportError: No module named arcpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I only figured out that I needed to append the last 3 paths after working with a colleague and his screen showed those paths, while mine didn't.&amp;nbsp; I would like to get it to where I don't have to append anything and I can just start coding.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, before when I tried it, it said that it could not find the file arcgisscripting.&amp;nbsp; I was able to find the file folder that contained arcgisscripting, but the file itself was empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would my best bet just be to reload ArcGIS 10, or should I be able to work around that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do have Multiple versions of Python on my 64-bit system, but I don't know that this is what is interfering as I am using 2.6.5 with ArcGIS.&amp;nbsp; I just have no idea what is going on. Any help would be much appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 19:49:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-importing-arcpy/m-p/301906#M23474</guid>
      <dc:creator>TomKissane</dc:creator>
      <dc:date>2012-07-12T19:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem importing Arcpy</title>
      <link>https://community.esri.com/t5/python-questions/problem-importing-arcpy/m-p/301907#M23475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You might want to try some of the suggestions here&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/23230-quot-ImportError-No-module-named-arcpy-quot-PYTHON"&gt;http://forums.arcgis.com/threads/23230-quot-ImportError-No-module-named-arcpy-quot-PYTHON&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jul 2012 23:47:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/problem-importing-arcpy/m-p/301907#M23475</guid>
      <dc:creator>SolomonPulapkura</dc:creator>
      <dc:date>2012-07-12T23:47:53Z</dc:date>
    </item>
  </channel>
</rss>

