<?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: Arcpy import fail in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546283#M42602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In both cases, I installed them without having to fiddle with anything.&amp;nbsp; Both installs found the python directory and its binaries which are in the C:\Python27\ArcGIS10.2....yaddy yadditty folder which is only slightly different than an install without arcmap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pythonwin ends up here:&amp;nbsp;&amp;nbsp; C:\Python27\ArcGIS10.2\Lib\site-packages\pythonwin\Pythonwin.exe&lt;/P&gt;&lt;P&gt;Pyscripter here: "C:\Program Files (x86)\PyScripter\PyScripter.exe" --PYTHON27&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both play nice together and as a 'parent' with 50 teaching computers to work with, that is important. &lt;/P&gt;&lt;P&gt;The only time I have seen 'issues' are with those that want to install versions of Python that are different than that required for ArcMap.&amp;nbsp; They either try to install higher versions of Python or the wrong versions of pythonwin or pyscripter.&amp;nbsp; I solve that problem by installing those on separate machines without ArcMap...for pure python work ...since I am not convinced that the 'play nice' rule will be adhered to.&amp;nbsp; As soon as someone suggests monkeying around with registratries and path files...I just say no...since this would have to be done by many students who want to work with their educational versions at home.&amp;nbsp; It is kind of a 'my house...my rules' scenario, but it works for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2015 23:26:02 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2015-01-26T23:26:02Z</dc:date>
    <item>
      <title>Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546278#M42597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;P&gt;I've got a fresh install of 10.2.2 why can't I import arcpy in pythonwin? I get the following result:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;interactive input&amp;gt;", line 1, in &amp;lt;module&amp;gt;
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\__init__.py", line 24, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from arcpy.toolbox import *
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\toolbox.py", line 356, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; from management import Graph, GraphTemplate
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\management.py", line 22, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import _management
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\_management.py", line 14, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import _graph
&amp;nbsp; File "C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy\arcpy\_graph.py", line 27, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import numpy
ImportError: No module named numpy&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:38:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546278#M42597</guid>
      <dc:creator>DanielErklauer</dc:creator>
      <dc:date>2021-12-11T23:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546279#M42598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like it's having trouble finding numpy. Is there a numpy folder in: C:\Python27\ArcGIS10.2\Lib\site-packages (or wherever your python is)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 21:38:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546279#M42598</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-01-26T21:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546280#M42599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have two directories in C:\Python27&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;1.C:\Python27\ArcGIS10.2&lt;/P&gt;&lt;P&gt;2. C:\Python27\ArcGISx6410.2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and both have numpy in \Lib\site-packages&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 21:56:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546280#M42599</guid>
      <dc:creator>DanielErklauer</dc:creator>
      <dc:date>2015-01-26T21:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546281#M42600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pythonwin is a separate install and not installed by default, if memory serves.&amp;nbsp; I downloaded the version (several locations online) for ArcMap ... the 32 bit version for python 2.7.x (whether you have a 64 bit machine or not).&amp;nbsp; You might as well download and install Pyscripter as well.&amp;nbsp; Both are great free python IDEs, and I use them simultaneously with Arcmap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 22:46:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546281#M42600</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-01-26T22:46:15Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546282#M42601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan your right it is not installed by default but it comes with ESRI or at least it use to, that's how I ended up using it.&amp;nbsp; I don't care to much about the IDE as long as it work with arcpy so I can test things.&amp;nbsp; If I install Pyscripter will I be able to run my scripts though windows manager to automate them?&amp;nbsp; and whats the process for setting the environments for Pyscripter so it will us the arcpy library?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 23:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546282#M42601</guid>
      <dc:creator>DanielErklauer</dc:creator>
      <dc:date>2015-01-26T23:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546283#M42602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In both cases, I installed them without having to fiddle with anything.&amp;nbsp; Both installs found the python directory and its binaries which are in the C:\Python27\ArcGIS10.2....yaddy yadditty folder which is only slightly different than an install without arcmap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pythonwin ends up here:&amp;nbsp;&amp;nbsp; C:\Python27\ArcGIS10.2\Lib\site-packages\pythonwin\Pythonwin.exe&lt;/P&gt;&lt;P&gt;Pyscripter here: "C:\Program Files (x86)\PyScripter\PyScripter.exe" --PYTHON27&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Both play nice together and as a 'parent' with 50 teaching computers to work with, that is important. &lt;/P&gt;&lt;P&gt;The only time I have seen 'issues' are with those that want to install versions of Python that are different than that required for ArcMap.&amp;nbsp; They either try to install higher versions of Python or the wrong versions of pythonwin or pyscripter.&amp;nbsp; I solve that problem by installing those on separate machines without ArcMap...for pure python work ...since I am not convinced that the 'play nice' rule will be adhered to.&amp;nbsp; As soon as someone suggests monkeying around with registratries and path files...I just say no...since this would have to be done by many students who want to work with their educational versions at home.&amp;nbsp; It is kind of a 'my house...my rules' scenario, but it works for me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2015 23:26:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546283#M42602</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-01-26T23:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546284#M42603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's a good point on separate installs for ESRI machines and development.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 00:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546284#M42603</guid>
      <dc:creator>DanielErklauer</dc:creator>
      <dc:date>2015-01-27T00:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Arcpy import fail</title>
      <link>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546285#M42604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And to add to that, I have had a couple of instances where I installed python packages...didn't like them...uninstalled them, then had issues with python (small...but didn't affect arc* more importantly).&amp;nbsp; Machines are cheap...time isn't&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jan 2015 01:19:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcpy-import-fail/m-p/546285#M42604</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2015-01-27T01:19:26Z</dc:date>
    </item>
  </channel>
</rss>

