I have created an ArcToolbox and a Model in the toolbox. It uses a lot of Spatial Analyst tools and deals with raster images.
When I imported the toolbox in a Python script and ran the model from Python in Windows command prompt, I got a few warning messages as below but the model got run successfully.
<string>:1: SyntaxWarning: import * only allowed at module level
It was shown several times. I am unable to tell where this error comes from.
Any idea?