Import arcgisscripting error in IDLE but not when run from ArcToolbox

Discussion created by negeise on Feb 18, 2011
Latest reply on Feb 22, 2011 by negeise
I have a very, very simple script that is only pulling yesterday's date and printing it right now but with just that, it won't run past the import line outside of ArcToolbox. When brought into ArcToolbox it runs fine with no errors but when I test it in IDLE, it gives me this error:

Traceback (most recent call last):
File "c"\temp\", line 3, in <module>
import sys, os, datetime, arcgisscripting
ImportError: DLL load failed with error code 193

I'm pretty new to Python so it could be something very simple, I just don't know what that is. Thanks for any help.


Also, I'm using Arc 9.3.1 and Python 2.5.1