I'm working with IIS on W2K server. I'm trying to
use module "wmi" in a CGI script but with no success.
The following works:
import cgitb; cgitb.enable()
cgi.test()
.... but the following isn't working:
import cgitb; cgitb.enable()
import wmi ## fails here, with msg "wmi undefined"
cgi.test()
Any ideas? I can import all the other modules (e.g. sys)
except "wmi". Also, when I run the same script in IDLE
(cgi stuff removed), it works. Sys.path has all the needed
directories, including script's directory, and WMI's
directory.
Comment