Customer Service | Training | Contact Us
Welcome!
Login
Search Options   products areas display

Which products should be considered?

All Products

ArcCAD
ArcEditor
ArcExplorer
ArcGIS Engine
ArcGIS Explorer
ArcGIS Image Server
ArcGIS Mobile
ArcGIS Server
ArcIMS
ArcInfo Desktop
ArcInfo Workstation
ArcLogistics Route
ArcPad
ArcPad Application Builder
ArcReader
ArcSDE
ArcView
ArcView 3.x
ArcWeb Services APIs
ArcWeb Toolbar for ArcGIS
Atlas GIS
BusinessMap
BusinessMap Pro
GIS Portal Toolkit
Job Tracking for ArcGIS
MapIt
Maplex
MapObjects -- Java
MapObjects -- Windows
MapObjects IMS
MapObjects LT
MapStudio
Military Overlay Editor
NetEngine
PC ARC/INFO & DAK
PLTS
RouteMap
RouteMap IMS
SDE
Tracking Server

    Remember these settings for each visit More info
You are here:

Technical Article   FAQ:  Are there any issues with Python when upgrading to ArcGIS 9.2?

Article ID: 31900
Software:  ArcGIS - ArcEditor 9.2 ArcGIS - ArcInfo 9.2 ArcGIS - ArcView 9.2
Platforms:  Windows 2000, XP, 2003Server

Question

Are there any issues with Python when upgrading to ArcGIS 9.2?

Answer

This document discusses potential issues with Python and ArcGIS 9.2 and addresses problems that may occur with Python scripts, both user created and embedded, not working after upgrading to ArcGIS 9.2. ArcGIS 9.1 shipped with Python 2.1; ArcGIS 9.2 ships with Python 2.4.1. There are four issues with Python and upgrading to ArcGIS 9.2:

• Multiple versions of Python installed with ArcGIS 9.2 may cause problems with Windows file associations, which in turn cause scripts to fail. This occurs if Python 2.1 and PythonWin 2.1 were not uninstalled prior to upgrading to ArcGIS 9.2.

Resolve this problem by uninstalling all versions of Python and PythonWin before upgrading to ArcGIS 9.2. See the link in the Related Information section for more information where both Python versions 2.1 and 2.4.1 are to be installed for use with ArcGIS 9.2.

• ArcGIS 9.2 does not install PythonWin 2.4.1.

To workaround this issue, use the IDLE editor that comes with Python 2.4.1. To use the PythonWin editor, install PythonWin 2.4.1 from the installation CD and ensure that the Windows file associations are correct. See the link in the Related Information section below for more information on installing PythonWin 2.4.1 and making correct file associations to work with ArcGIS 9.2.

• There is a known issue with editing Python scripts that use the Python win32com module in ArcGIS 9.2. See the link in the Related Information section below for more information on Python scripts using the win32com client module only run once from within PythonWin or IDLE at ArcGIS 9.2.

 This issue has been resolved in 9.2 SP2. See the link in the Related Information section below for ArcGIS 9.1 Service Pack 2.


• Upgrading to Python 2.5 or higher is unsupported. See the link in the Related Information below for more information on Python 2.5 or higher support with ArcGIS 9.2.

Related Information


Created: 10/2/2006
Last Modified: 11/24/2009

This website's graphical display is now viewable only with W3C standards-compliant browsers, but the content is accessible to all browsers and Internet devices. View our supported browser matrix for more information on our website display.