Thursday, 25 January 2018

Can I use python 2.6 with ArcGIS 9.3?


Is it possible to use Python 2.6 (or 2.7?) with ArcGIS 9.3?


The official stance is no, not supported. There are a number of reports in the wild though that it can be done. How is this accomplished? and is there anything to watch out for?



Answer



In all ArcGIS 9 versions you can upgrade python to the latest and greatest version with a few simple steps. Here's the recipe for 9.3 and 2.6:




  • Install python 2.6, and the latest corresponding pywin32.

  • Grab the arcgisscripting.py script written by Philippe Le Grand (see this thread in the ESRI scripting forum) and plop it into C:\Python2.6\Lib\site-packages

  • Make sure PYTHONPATH environment variable points to C:\path\to\ArcGIS\bin


This is an unsupported configuration, see ESRI knowledgebase article 31912.


Recipe from http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python


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...