CGI and odbc

Emile van Sebille emile at
Wed Mar 1 15:44:22 CET 2000

It sounds like your path is not set properly at time
of execution.  Try setting it explicitly, e.g.:



Emile van Sebille
emile at

----- Original Message -----
From: <melgin at>
Newsgroups: comp.lang.python
To: <python-list at>
Sent: Wednesday, March 01, 2000 1:10 AM
Subject: CGI and odbc

> Hi,
> I am trying to use odbc in a script to pull data from a database and
> then publish it to a web page. Although I am able to connect to the
> database and gather the information, when I try to call the script
> a web page an error occurs stating that it cannot import the dbi, odbc
> module, as if it isn't there. I've also tried using my own scripts
> within a cgi script and the same error occurs. Does anyone have any
> ideas as to what this is and what I can do about it????
> Many Thanks
> Matt Elgin
> Sent via
> Before you buy.
> --

More information about the Python-list mailing list