I converted a model into python script and tried to run it. It gave me an error when it gets to the raster calculator process.The message says "str" object has no attribute "save". See picture below.
My code here :
arcpy.gp.RasterCalculator_sa("\"%Reclass_Aspe5%\" + \"%Reclass_Slop7%\"", Output)
"%Reclass_Aspe5%" + "%Reclass_Slop7%"
The code it directly from ModelBuilder. Every other processes work out fine except raster calculator. Does anyone know what the problem is?
ExecuteError: ERROR 000539: Error running expression: rcexec() Traceback (most recent call last): File "", line 1, in File "", line 8, in rcexec AttributeError: 'str' object has no attribute 'save'
Failed to execute (RasterCalculator)