English

Problem: Unable to run Python scripts using a single use ArcView license

Description

When executing a Python script, a traceback error in PythonWin or a cmd.exe error in ArcToolbox is displayed.

Cause

This problem occurs when the license level has not been set in geoprocessing scripts when using a single use ArcView license.

Solution or Workaround

To run geoprocessing scripts under a single use ArcView license, explicitly set the license level by adding the following line of code after instantiating the gp object:

Code:
gp.SetProduct("ArcView")