[GIS] Running 64-bit background geoprocessing inside ArcMap

64bitarcgis-desktoparcmaparcpybackground-geoprocessing

I'm running ArcMap 10.2 and just set up 'ArcGIS for Desktop Background Geoprocessing (64 bit)' and now I have both the ArcGIS10.2 folder and ArcGISx6410.2 folder inside my python folder. I have background processing enabled as well. When I open the python window inside of ArcMap and do import sys, print sys.version it shows that it is running the 32 bit version.

How do I get the 64 bit version to run inside of ArcMap?

Best Answer

You cannot run a 64 bit executable within a 32 bit process space. That is, the Python window in ArcMap can only ever run in 32 bits, but Geoprocessing tools called from that window can run in a 64 bit background process if background processing is turned on.

Your script tools can determine what environment they are running in by checking sys.executable