<?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: ImportError: No module named arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534995#M41902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have never had to install python separately as it was installed with ArcGIS Desktop standard installation. If you don't have it, I'd go back through the ArcGIS installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What code editor are you using? It could be accessing a different installation of Python now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jan 2016 20:03:29 GMT</pubDate>
    <dc:creator>JimmyKroon</dc:creator>
    <dc:date>2016-01-14T20:03:29Z</dc:date>
    <item>
      <title>ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534993#M41900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So ..... I been working with ArcMap for 3 semesters and it went well so far. I enrolled in a Python programming class.&amp;nbsp; &lt;/P&gt;&lt;P&gt;ARCGIS wis installed in C:\Program Files (x86)\ArcGIS\Desktop10.3. &lt;/P&gt;&lt;P&gt;I downloaded Python 2.7.xx and installed it to C:\Python27.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt; print("\n".join(sys.path))&lt;/P&gt;&lt;P&gt;C:\Python27\Lib\idlelib&lt;/P&gt;&lt;P&gt;C:\WINDOWS\SYSTEM32\python27.zip&lt;/P&gt;&lt;P&gt;C:\Python27\DLLs&lt;/P&gt;&lt;P&gt;C:\Python27\lib&lt;/P&gt;&lt;P&gt;C:\Python27\lib\plat-win&lt;/P&gt;&lt;P&gt;C:\Python27\lib\lib-tk&lt;/P&gt;&lt;P&gt;C:\Python27&lt;/P&gt;&lt;P&gt;C:\Python27\lib\site-packages&lt;/P&gt;&lt;P&gt;C:\Python27\lib\site-packages\win32&lt;/P&gt;&lt;P&gt;C:\Python27\lib\site-packages\win32\lib&lt;/P&gt;&lt;P&gt;C:\Python27\lib\site-packages\Pythonwin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I add the ARCGIS modules to this sys.path (&lt;STRONG&gt;IF&lt;/STRONG&gt; that's what my problem is). Please be nice to the noob &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:33:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534993#M41900</guid>
      <dc:creator>KennethKirkeby</dc:creator>
      <dc:date>2016-01-14T19:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534994#M41901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should have let arcgis install python...currently there should be a&lt;/P&gt;&lt;P&gt;c:\python27\arcgis10... or something in the path.&amp;nbsp; Install it from your installation disk.&lt;/P&gt;&lt;P&gt;from an earlier thread with this morning&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from python 2.7&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;PythonWin 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
&amp;gt;&amp;gt;&amp;gt; import sys
&amp;gt;&amp;gt;&amp;gt; sys.path
['', '...',
 'C:\\Python27\\ArcGIS10.3\\DLLs',
 'C:\\Python27\\ArcGIS10.3\\lib',
 'C:\\Python27\\ArcGIS10.3\\lib\\plat-win',
 'C:\\Python27\\ArcGIS10.3\\lib\\lib-tk',
 'C:\\Python27\\ArcGIS10.3\\Lib\\site-packages\\pythonwin',
 'C:\\Python27\\ArcGIS10.3',
 'C:\\Python27\\ArcGIS10.3\\lib\\site-packages',
 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.3\\bin',
 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.3\\ArcPy',
 'C:\\Program Files (x86)\\ArcGIS\\Desktop10.3\\ArcToolBox\\Scripts',
 'C:\\Python27\\ArcGIS10.3\\lib\\site-packages\\win32',
 'C:\\Python27\\ArcGIS10.3\\lib\\site-packages\\win32\\lib']
&amp;gt;&amp;gt;&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And of course yours may differ...I am using ArcGIS10.3.1 and ArcGIS PRO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:14:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534994#M41901</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T23:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534995#M41902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have never had to install python separately as it was installed with ArcGIS Desktop standard installation. If you don't have it, I'd go back through the ArcGIS installation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What code editor are you using? It could be accessing a different installation of Python now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:03:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534995#M41902</guid>
      <dc:creator>JimmyKroon</dc:creator>
      <dc:date>2016-01-14T20:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534996#M41903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could be the new installation overwrote the old because of the differences in paths&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:06:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534996#M41903</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-14T20:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534997#M41904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I uninstalled the original Python installation since I didn't think I would ever want to get into programing. Reinstall the latest version from Python.org.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should have left the original in place. I thought it would be an easy fix to just point it at another install.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:10:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534997#M41904</guid>
      <dc:creator>KennethKirkeby</dc:creator>
      <dc:date>2016-01-14T20:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534998#M41905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just install it from the arcgis installation disk or download, if you want to continue to use arcpy.&amp;nbsp; If you are with an educational institution, you most likely get the latest and greatest for download for free... so no biggy, just reinstall arcmap or skip it altogether and just use your version...which can't be used for arcpy functionality&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534998#M41905</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-14T20:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534999#M41906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need to program to need Python. Many geoprocessing tools in ArcToolbox are also written in Python. It can also be used in field calculator and labeling expressions, to name two uses. And arcpy is designed for certain versions of Python - newer versions may not work correctly. I'd definitely go back through the installation process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:39:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/534999#M41906</guid>
      <dc:creator>JimmyKroon</dc:creator>
      <dc:date>2016-01-14T20:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535000#M41907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, arcmap has to be reinstalled or it won't operate properly either since the python association is broken as are all the arcpy functionality and using the python IDE inside of arcmap won't work either.&amp;nbsp; the basic question remains... is arcmap required... or just python???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 20:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535000#M41907</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-14T20:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535001#M41908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do need ArcMap. There's a reinstall in my future. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jan 2016 21:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535001#M41908</guid>
      <dc:creator>KennethKirkeby</dc:creator>
      <dc:date>2016-01-14T21:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535002#M41909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I move the thread to the Python place in case someone else has a suggestion that was overlooked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jan 2016 07:56:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535002#M41909</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-01-15T07:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535003#M41910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="padding-left: 30px;"&gt;Hi Kenneth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may wish to add the Desktop10.3.pth file. See &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/python/importing-arcpy.htm"&gt;Importing ArcPy&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;The installation of ArcGIS&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="ph"&gt;10.3.1&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;products will install Python 2.7 if it isn't already installed. The installation will also add the file Desktop10.3.pth (or Engine10.3.pth or Server10.3.pth) into&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="usertext"&gt;python27\Lib\site-packages&lt;/SPAN&gt;. The contents of this file include two lines containing the paths to your system's ArcGIS installation's arcpy and bin folders. These two paths are required to import ArcPy successfully in Python version 2.7.&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;&lt;EM&gt;If importing ArcPy produces either of the following errors, the required modules could not be found:&lt;/EM&gt;&lt;/P&gt;&lt;UL style="padding-left: 30px;"&gt;&lt;UL&gt;&lt;LI style="padding-left: 30px;"&gt;&lt;EM&gt;ImportError: No module named arcpy&lt;/EM&gt;&lt;/LI&gt;&lt;LI style="padding-left: 30px;"&gt;&lt;EM&gt;ImportError: No module named arcgisscripting&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-size: 0.87rem; margin-bottom: 1.71em;"&gt;&lt;EM&gt;To address this, browse using&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="uicontrol" style="font-weight: bold;"&gt;Windows Explorer&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;to the&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;SPAN class="usertext" style="font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-weight: bold; -webkit-font-smoothing: antialiased;"&gt;python27\Lib\site-packages&lt;/SPAN&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;folder and add or edit the Desktop10.3.pth file. The file should contain the three lines shown below (corrected to your system's path if they do not match):&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;EM&gt;c:\Program Files (x86)\ArcGIS\Desktop10.3\arcpy&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;EM&gt;c:\Program Files (x86)\ArcGIS\Desktop10.3\bin&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;EM&gt;c:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolbox\Scripts&lt;/EM&gt;&lt;/P&gt;&lt;DIV class="highlight"&gt;&lt;PRE style="line-height: 1.5em; font-family: Consolas, 'Andale Mono', 'Lucida Console', Monaco, 'Courier New', Courier, monospace; font-size: 0.75em; margin-top: 1em; margin-bottom: 1.5em; white-space: pre-wrap; -ms-word-wrap: break-word; max-width: 100%; tab-size: 4;"&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that fails, try this:&lt;/P&gt;&lt;P&gt;1. Go to C:\ and rename the Python27 folder to Python27_Old.&lt;/P&gt;&lt;P&gt;2. Go to Control Panel\Programs\Programs and Features&lt;/P&gt;&lt;P&gt;3. Right-click on ArcGIS 10.3.1 for Desktop &amp;gt; Uninstall/Change&lt;/P&gt;&lt;P&gt;4. Click Repair and then proceed through the rest of the wizard accepting the defaults.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The repair will reinstall Python and adjust paths.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I hope this helps!&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 17:46:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535003#M41910</guid>
      <dc:creator>AshleyStalzer</dc:creator>
      <dc:date>2016-01-21T17:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: ImportError: No module named arcpy</title>
      <link>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535004#M41911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ended up uninstalling and reinstalling per Mr. Patterson's comments. Took the defaults this time rather than trying to customize.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jan 2016 18:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/importerror-no-module-named-arcpy/m-p/535004#M41911</guid>
      <dc:creator>KennethKirkeby</dc:creator>
      <dc:date>2016-01-21T18:00:58Z</dc:date>
    </item>
  </channel>
</rss>

