I'm running ArcGIS 9.3.1 w/ service pack 2 on Windows 7 64 bit home edition. When I try to run the tools in the Spatial Statistics toolbox, I get an error message. I've tried uninstalling and re-installing the software, with a cleanup in-between, and get the same error.
A different thread on here had instructions for capturing the process log. Here's the log for running the nearest neighbor analysis, which errored out:
Elizabeth Is there a chance that you aren't using a projected file as input? The error line contains .... OutputCoordinateSystem not found suggesting that either your data are in decimal degrees and/or doesn't have a defined coordinate system
hi Dan, Thanks for your answer. My data is projected (NAD_1983_StatePlane_California_V_FIPS_0405_Feet) and the data and tool both work on another computer (running Windows 7 on 32 bit). The problem has to be a setting on my laptop, how Arc installed on my laptop, or maybe a compatibility issue w/ ArcEd 9.3.1 and my laptop (windows 7 64 bit.....)?? Several people have suggested something with Python, but I don't know where to start with that. Any help would be appreciated!
Several people have suggested something with Python, but I don't know where to start with that. Any help would be appreciated!
It does look like your script is not able to properly create a geoprocessor object. I think the best way to reconnect Python with ArcGIS is to uninstall *all* python related software from add/remove programs, then do a repair install of ArcGIS followed by reinstalling the most recent ArcGIS service packs. This will ensure you have the right version of Python (2.5.1 32 bit) and that it can talk to ArcGIS.
Thanks Curtis. Uninstalled Python and ArcGIS, ran a disk cleanup, reinstalled both w/ a repair, installed service pack 2.....still no luck . scratching my head on this one.... could this tool set (spatial statistics) be incompatible w/ 64bit??? the tools work fine on the desktop w/ 32bit architecture, but for a variety of reasons i need this work on my (much faster) laptop.
You said, installed both Python and ArcGIS -- the ArcGIS installer should install Python (and numpy) on its own. If you installed Python separately you will be missing numpy and that will make the geostat tools fail. Do other python scripts work??