Python Script via Command Line

211
1
08-02-2010 12:21 AM
StefanKaps
New Contributor
Hi,
i'm new in using Python, Modelbuilder etc. so I hope someone can give me a hint zu solve my problem. My aim is to automate a workflow, which I have already created with the Modelbuilder. I thought, that I can save my model as a python script and then let it run via batch file. Running the batch file ends with an error:

"
# Set the License...
gp.SetProduct("ArcView")
Runtime Error: ERROR 999999: ArcObjects has not yet been initialized
"

Is it possible to run such python scripts via python command line?
Does anybody know this kind of problem und - of course 🙂 - know the solution?

Thank you and
Best regards,
Stefan
0 Kudos
1 Reply
AndrewChapkowski
Esri Regular Contributor
0 Kudos