Sunday, 7 February 2016

Will ArcGIS Desktop support latest Python 2.x or Python 3.x versions?



I'm curious to know whether ArcGIS Desktop 10.0 will support newer versions of Python than 2.6. And for that matter newer versions of NumPy (ie, 1.4, 1.5 etc). I'm sure that this documentation is on the ESRI site somewhere, but I can't find it.


I have found that ArcGIS Desktop 10.0 will respect an existing Python 2.6 install as long as you have Numpy 1.3.0 installed (ref), and I'm guessing, at least until Numpy 1.5.0 is out and supporting Python 3, then no Python 3 for ArcGIS, but I'd still be interested to know if upgrading is possible when it's available.



Answer



I think it is important to make this Q&A cover not just ArcGIS Desktop 10.0, Python 2.7 and Python 3.1, but also to incorporate the latest versions of desktop products from the ArcGIS platform and the Python programming language.


For Python support in the (currently) latest desktop products from the ArcGIS platform I think you should consider:




If you do need to use Python outside of ArcGIS Pro, download the Python setup from My Esri. This installation will install Python 3.4.1, all third-party requirements required by ArcGIS Pro, and an ArcGISPro.pth file that is used to identify all ArcGIS Pro folders required to run ArcPy.






ArcGIS for Desktop geoprocessing tools require that Python 2.7.x and Numerical Python 1.7.x are installed. If the ArcGIS for Desktop setup does not find either Python 2.7.x or Numerical Python (NumPy) 1.7.xinstalled on the target computer, Python 2.7.8 and Numerical Python 1.7.1 will be installed during a complete installation of ArcGIS 10.3.x.



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...