Problem: Unable to run Python scripts using a single use ArcView license
When executing a Python script, a traceback error in PythonWin or a cmd.exe error in ArcToolbox is displayed.
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: