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?
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?
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:
C:\Python2.6\Lib\site-packagesC:\path\to\ArcGIS\binThis is an unsupported configuration, see ESRI knowledgebase article 31912.
Recipe from http://www.yukongis.ca/How_To/Upgrading_ArcGIS_Python
Do you have any compelling reason to upgrade beyond 'because I want to?' Most popular third-party Python libraries are available for 2.5 and there's no point in risking major compatibility issues. arcgisscripting should fail and throw with an error like "use of python25.DLL conflicts with this version of Python" when importing a 9.3.X arcgisscripting in Python 2.6 or beyond.
gp.ListDatasets()breaks in py2.6 with "This object does not support enumeration" – matt wilkie Sep 27 '10 at 22:39gp.ListDatasets()has something to do with arcgis changing from enumerators to lists, also see this in 9.2 to 9.3 for some methods. Not sure why this didn't become an issue at this point, when it didn't surface with py2.5 and 9.3. See (http://gis.stackexchange.com/questions/10922/enumeration-problem-with-eclipse-and-arcgis-9-3) for solution – matt wilkie Feb 02 '12 at 18:31