Python requirement
ArcGIS Desktop geoprocessing tools require that Python 2.6.x and Numerical Python 1.3.0 are installed. If the ArcGIS Desktop setup does not find either Python 2.6.x or Numerical Python (NumPy) 1.3.0 installed on the target computer, Python 2.6.5 and Numerical Python 1.3.0 will be installed during a complete installation. You can choose a Custom installation to unselect the Python feature and avoid installing it. Additionally, if the Python setup is executed during the ArcGIS Desktop installation, you will be provided with the opportunity to choose its installation location. The Python installation location should not include spaces.
Important
Scripts written in ArcGIS 9 or 9.1 used the win32com module installed by Python Win32 to create the geoprocessor object. With ArcGIS 10 (as well as 9.2 and 9.3), the Python Win32 extension is no longer installed (as it is not required). If Python Win32 is not installed, any existing scripts created using ArcGIS 9 or 9.1 that use win32com will no longer work correctly. The PythonWin32 extension is available on the media if you should require it.
ArcGIS no longer installs Python Win32 because the recommended methodology for creating the geoprocessor has changed to using a new Python module that ESRI has developed to support the latest version of Python and multiple platforms, such as Windows, Solaris, and Linux.
To move forward with Python scripting, you must do one of the following:
- Alter your scripts to use the new ArcGIS Python module to create the geoprocessor. See the following online help topic for more information: Geoprocessing > Automating your work with scripts > Accessing tools within a geoprocessing script > Creating the geoprocessor object.
- Install the PythonWin installation program, pywin32-212.win32-py2.6.exe, found on the installation media. This will install win32com and enable your existing scripts to work as they did in ArcGIS 9 and 9.1.
Only versions 2.6.x of Python can be installed to meet the requirement.
The ArcGIS Desktop geoprocessing tools that require Python are as follows:
Analysis tools
- Proximity toolset
- Multiple Ring Buffer
Conversion tools
To dBASE
- Table To dBASE (multiple)
To Geodatabase
- Feature Class To Geodatabase (multiple)
- Table To Geodatabase (multiple)
To Shapefile
- Feature Class To Shapefile (multiple)
Spatial Statistics tools
Analyzing patterns
- Average Nearest Neighbor
- High/Low Clustering (Getis-Ord General G)
- Spatial Autocorrelation (Moran's I)
Mapping clusters
- Cluster And Outlier Analysis (Anselin Local Moran's I)
- Hot Spot Analysis (Getis-Ord Gi*)
Measuring geographic distributions
- Central Feature
- Directional Distribution (Standard Deviation Ellipse)
- Linear Directional Mean
- Mean Center
- Standard Distance
Utilities
- Calculate Areas
- Collect Events
- Count Rendering
- Export Feature Attribute To ASCII
- Z Score Rendering
Uninstalling Python
When Python 2.6.5 and NumPy are installed by the ArcGIS Desktop setup, they are uninstalled when you remove ArcGIS Desktop. You can manually install Python 2.6.5 and NumPy prior to installing ArcGIS Desktop. If both are found by the ArcGIS Desktop setup program, Python and NumPy will not be installed and, as a result, will not be uninstalled.