Select to view content in your preferred language

Zonal tools problem with Python

536
2
05-17-2012 04:23 PM
ChristineBlinn
Deactivated User
Why when I try to run any of the tools in the Zonal toolbox in the Python window or use any of those tools in a Python script do I get the following error? "Runtime error <type 'exceptions.AttributeError'>: 'module' object has no attribute 'TabulateArea_sa'" I am using ArcGIS 10.0 service pack 4.
Tags (2)
0 Kudos
2 Replies
DarrenWiens2
MVP Honored Contributor
Isn't it "TabulateArea" in arcpy?
TabulateArea (in_zone_data, zone_field, in_class_data, class_field, out_table, {processing_cell_size})
0 Kudos
ChrisSnyder
Honored Contributor
So you get this error anytime you run any of the zonal tools? Do you have this same problem if you run any of the Zonal tools directly from the toolbox too?  Hmm... You might have something wrong with your install of ArcGIS/Spatial Analyst... After exhausting other ideas, you can always try a reinstall.
0 Kudos