<?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: Running x64 bit geoprocessing Python in Python IDLE 2.7.6 x64 error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/running-x64-bit-geoprocessing-python-in-python/m-p/191262#M14685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;my ultimate goal is to get the arcpy module to run in spss 22 which is built on the Python 2.7.1 x64 framework.&amp;nbsp; However even when I put the&amp;nbsp; DTBGGP64.pth&amp;nbsp; file in the site-packages folder of that module, I get the same exact traceback error that it cannot find Numpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clinton&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 May 2014 11:33:20 GMT</pubDate>
    <dc:creator>ClintonCooper1</dc:creator>
    <dc:date>2014-05-16T11:33:20Z</dc:date>
    <item>
      <title>Running x64 bit geoprocessing Python in Python IDLE 2.7.6 x64 error</title>
      <link>https://community.esri.com/t5/python-questions/running-x64-bit-geoprocessing-python-in-python/m-p/191261#M14684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to set the Python IDLE 2.7.6 x64 to run the arcpy module from ArcGIS x64 bit geoprocessing (10.2.2).&amp;nbsp; I copied the file DTBGGP64.pth from C:\Python27\ArcGISx6410.2\Lib\site-packages to C:\Python27\Lib\site-packages that is written as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
C:\Program Files (x86)\ArcGIS\Desktop10.2\bin64
C:\Program Files (x86)\ArcGIS\Desktop10.2\arcpy
C:\Program Files (x86)\ArcGIS\Desktop10.2\ArcToolbox\Scripts
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when I then open the python 2.7.6&amp;nbsp; x64 IDLE and run the following command : import Arcpy,&amp;nbsp; I get this error &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
Traceback (most recent call last):
&amp;nbsp; File "&amp;lt;pyshell#0&amp;gt;", line 1, in &amp;lt;module&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; import arcpy
&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems to me that the 10.2.2 x64 bit python is pointing to the 32 bit python library.&amp;nbsp; I have tried substituting the code from:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//002z00000008000000" rel="nofollow noopener noreferrer" target="_blank"&gt;http://resources.arcgis.com/en/help/main/10.2/index.html#//002z00000008000000&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
c:\Program Files\ArcGIS\Desktop10.2.2\arcpy
c:\Program Files\ArcGIS\Desktop10.2.2\bin
c:\Program Files\ArcGIS\Desktop10.2.2\ArcToolbox\Scripts
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the error that it cannot even find the arcpy module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thought on how to solve this?&amp;nbsp; Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:37:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/running-x64-bit-geoprocessing-python-in-python/m-p/191261#M14684</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2021-12-11T09:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: Running x64 bit geoprocessing Python in Python IDLE 2.7.6 x64 error</title>
      <link>https://community.esri.com/t5/python-questions/running-x64-bit-geoprocessing-python-in-python/m-p/191262#M14685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;my ultimate goal is to get the arcpy module to run in spss 22 which is built on the Python 2.7.1 x64 framework.&amp;nbsp; However even when I put the&amp;nbsp; DTBGGP64.pth&amp;nbsp; file in the site-packages folder of that module, I get the same exact traceback error that it cannot find Numpy&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Clinton&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 May 2014 11:33:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/running-x64-bit-geoprocessing-python-in-python/m-p/191262#M14685</guid>
      <dc:creator>ClintonCooper1</dc:creator>
      <dc:date>2014-05-16T11:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Running x64 bit geoprocessing Python in Python IDLE 2.7.6 x64 error</title>
      <link>https://community.esri.com/t5/python-questions/running-x64-bit-geoprocessing-python-in-python/m-p/191263#M14686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. Delete C:\Python27\ArcGIS10.2\site-packages\&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;DTBGGP64.pth&lt;/SPAN&gt;. pth files should only point to modules that are of the same type x32 or x64. Your spss modules are x64 so you cannot import them in ArcMap foreground processing - which is always 32 bit python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. To avoid breaking python paths needed for ArcGIS, you can take advantage of the fact that .pth files are loaded in alphabetical order. To force the spss stuff to load last so it won't break ArcGIS, you can try renaming your file &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;DTBGGP64.pth&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; to zz&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;DTBGGP64.pth&lt;/SPAN&gt;&lt;/SPAN&gt; -- again, in the Python x64 site-packages folder ONLY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. This may or may not work depending on the dependencies in the spss modules -- which may be different from ArcGIS.&amp;nbsp; There are situations where you need to install a separate Python and run it using the subprocess module in its own thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that to get any of these changes to take, you need to restart Python. In the case of Desktop, that means you need to shut down ArcMap/ArcCatalog and start it again to restart the in-process Python session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you out!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 06:46:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/running-x64-bit-geoprocessing-python-in-python/m-p/191263#M14686</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-09-25T06:46:24Z</dc:date>
    </item>
  </channel>
</rss>

