2

I am trying to have Python 64-bit with ArcGIS so that I can use my entire RAM when doing data analysis. Apparently ArcGIS 10.2.2 Desktop comes just with 'Python 32-bit'.

Should I install a fresh Python 64-bit and import arcpy from there?

Is that going to work?

I need to use arcpy and scipy libraries for my data analysis and I need to call both of these libraries in my Python code.

Is there a better way to run 'Python 64-bit' with ArcGIS?

PolyGeo
  • 65,136
  • 29
  • 109
  • 338
ahoosh
  • 245
  • 4
  • 11
  • 2
    64-bit Background Geoprocessing installs a 64-bit version of Python 2.7.2, NumPy and Matplotlib if they are not already installed. By default they will be installed to C:\Python27\ArcGISx6410.1 (note the x64 in the path), an additional install from the 32-bit Python (C:\Python27\ArcGIS10.1) that Desktop and Engine install and use. – Mapperz Aug 07 '14 at 20:16
  • 1
    @Mapperz, can you post this as an answer? – Jason Scheirer Aug 07 '14 at 20:23
  • set PYTHONPATH=%PYTHONPATH%;C:\My_python_lib https://docs.python.org/3.3/using/windows.html – Mapperz Aug 07 '14 at 20:29

1 Answers1

8

64-bit Background Geoprocessing with ArcGIS

64-bit Background Geoprocessing installs a 64-bit version of Python 2.7.2, NumPy and Matplotlib if they are not already installed. By default they will be installed to C:\Python27\ArcGISx6410.1 (note the x64 in the path), an additional install from the 32-bit Python (C:\Python27\ArcGIS10.1) that Desktop and Engine install and use

source: http://blogs.esri.com/esri/arcgis/2012/11/12/python-scripting-with-64-bit-processing/

Mapperz
  • 49,701
  • 9
  • 73
  • 132
  • My Python directory currently is C:\Python27\ArcGIS 10.2. How can I install 64-bit background Geoprocessing on top of Python 32-bit that I already have? – ahoosh Aug 07 '14 at 20:28
  • 2
    @bikhaab You don't install it "on top." You install a separate Python interpreter in a separate location (via the 64 bit background processing installer) and use that. – Jason Scheirer Aug 07 '14 at 20:40
  • I'm trying to download and install it from this link. Though, I get an error regarding redistributing C++ 2010 while installing it. Is that the right file for ArcGIS 10.2.2? – ahoosh Aug 07 '14 at 20:52
  • 1
    at the bottom ArcGIS-1022-BGDT-SRC-Patch.msp http://support.esri.com/en/downloads/patches-servicepacks/view/productid/67/metaid/2098 – Mapperz Aug 07 '14 at 21:01
  • After downloading and trying to install, I get this error:

    The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded is missing, or the upgrade patch may upgrade a different version of the program

    I'm pretty sure that I have ArcGIS 10.2.2 installed!! Any thoughts on that?

    – ahoosh Aug 07 '14 at 23:15
  • I have the same problem with installing the patch downloaded from @Mapperz's link. what is the solution? – msc87 Jan 27 '15 at 15:04