M
Marc Ederis
Hello,
I'm trying to create an executable with py2exe, and it uses the odbc
module. The script runs fine until I use py2exe on it and run the
..exe. Then I get:
--
Traceback (most recent call last):
File "dbmod.py", line 2, in ?
File "odbc.pyo", line 9, in ?
File "odbc.pyo", line 7, in __load
odbc: Cannot import dbi module
--
dbi.dll is in the dist folder, and so is odbc.pyd.
Does anyone know how to solve this problem?
Thanks,
-Marc
I'm trying to create an executable with py2exe, and it uses the odbc
module. The script runs fine until I use py2exe on it and run the
..exe. Then I get:
--
Traceback (most recent call last):
File "dbmod.py", line 2, in ?
File "odbc.pyo", line 9, in ?
File "odbc.pyo", line 7, in __load
odbc: Cannot import dbi module
--
dbi.dll is in the dist folder, and so is odbc.pyd.
Does anyone know how to solve this problem?
Thanks,
-Marc