<?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 Arcpy not working outside of ArcGIS in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66254#M5439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an issue importing arcpy into my Python scripts outside of ArcGIS. I've completely uninstalled Python and deleted the directory. I then used the 10.2 install disc to repair my version of ArcGIS hoping that doing so would correct any issues&amp;nbsp; created from having python 2.7 installed prior to ArcGIS 10.2 installation. Yet after the repair I tried to run my .py file and it gave me this error again. (Error attached as jpg)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Dec 2014 15:44:58 GMT</pubDate>
    <dc:creator>RusselKlueg</dc:creator>
    <dc:date>2014-12-23T15:44:58Z</dc:date>
    <item>
      <title>Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66254#M5439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an issue importing arcpy into my Python scripts outside of ArcGIS. I've completely uninstalled Python and deleted the directory. I then used the 10.2 install disc to repair my version of ArcGIS hoping that doing so would correct any issues&amp;nbsp; created from having python 2.7 installed prior to ArcGIS 10.2 installation. Yet after the repair I tried to run my .py file and it gave me this error again. (Error attached as jpg)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 15:44:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66254#M5439</guid>
      <dc:creator>RusselKlueg</dc:creator>
      <dc:date>2014-12-23T15:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66255#M5440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like something is amiss&lt;/P&gt;&lt;P&gt;1&amp;nbsp; do you have multiple versions of python installed&lt;/P&gt;&lt;P&gt;2&amp;nbsp; assuming you are using the version of python required for your version of arcmap, it should look like this for arcmap 10.2.x&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGIS10.2\.....&lt;/P&gt;&lt;P&gt;plus a bunch of others.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 15:54:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66255#M5440</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-12-23T15:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66256#M5441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my only directory under python 27&lt;/P&gt;&lt;P&gt;C:\Python27\ArcGIS10.2&lt;/P&gt;&lt;P&gt;which is what the ArcGIS 10.2 disc installed after I completely uninstalled python. The attachment also shows all the files located under that directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel it might be useful to mention thought, that under the directory below, arcpy can be found. It just seems to me there is a connection issue between python / IDLE and my actual arcpy library. But I'm not skilled in how to fix an issue like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 16:01:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66256#M5441</guid>
      <dc:creator>RusselKlueg</dc:creator>
      <dc:date>2014-12-23T16:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66257#M5442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you get past the import line in the interactive window&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; # done within the interactive window of both pyscripter and pythonwin
&amp;gt;&amp;gt;&amp;gt;
&amp;gt;&amp;gt;&amp;gt; import arcpy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # if it fails here... python is not installed properly
&amp;gt;&amp;gt;&amp;gt; # now get some information
&amp;gt;&amp;gt;&amp;gt; arcpy.__name__
'arcpy'
&amp;gt;&amp;gt;&amp;gt; arcpy.__path__
['C:\\Program Files (x86)\\ArcGIS\\Desktop10.2\\arcpy\\arcpy']&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:33:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66257#M5442</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-10T22:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66258#M5443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can get past it if im not trying to import arcpy. I have a few other scripts that run smoothly. The issue only arises when I am trying to do anything that requires me to import arcpy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 16:26:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66258#M5443</guid>
      <dc:creator>RusselKlueg</dc:creator>
      <dc:date>2014-12-23T16:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66259#M5444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in order to use arcpy in a script, it needs to be imported...If you can't get past the import line, then python and/or Arcmap has not been installed properly. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 16:31:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66259#M5444</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-12-23T16:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66260#M5445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that's my issue. I had python 2.7 installed prior to installing ArcGIS, so I uninstalled python from the computer completely then used the ArcGIS 10.2 install disc to reinstall it assuming the disc would install it properly. Yet I still have the disconnect when trying to import arcpy after doing all of that and I don't understand what I'm doing wrong to fix it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 16:38:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66260#M5445</guid>
      <dc:creator>RusselKlueg</dc:creator>
      <dc:date>2014-12-23T16:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66261#M5446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so if everything is ok as shown &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002z00000008000000"&gt;in this link in the help files&amp;nbsp;&amp;nbsp; &lt;/A&gt;then a complete reinstall might be in order&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 17:44:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66261#M5446</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-12-23T17:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66262#M5447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was actually in the process of reinstalling everything from the start as you posted that. It fixed the issue. Thanks again for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 18:15:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66262#M5447</guid>
      <dc:creator>RusselKlueg</dc:creator>
      <dc:date>2014-12-23T18:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66263#M5448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank goodness!!! have a great holiday&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 19:48:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66263#M5448</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2014-12-23T19:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy not working outside of ArcGIS</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66264#M5449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You too, Mr. Patterson! You were a great help! I've also followed you after looking at your credentials! I might have to call upon your assistance again one day:P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 19:52:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-not-working-outside-of-arcgis/m-p/66264#M5449</guid>
      <dc:creator>RusselKlueg</dc:creator>
      <dc:date>2014-12-23T19:52:01Z</dc:date>
    </item>
  </channel>
</rss>

