Entry
Why do I get "case mismatch for module name ODBC" errors when using mxODBC?
Jan 14th, 2003 12:19
Steve Holden, mxODBC documentation
If you have installed the Windows extentions from the Win32
package developed by Mark Hammond, sometimes confusions arises
between the Win32 odbc.pyd file, usually found in <python>\Lib\Win32,
and the mxODBC distribution, usually found at <python>\Lib\ODBC.
The simplest fix is to rename the odbc.pyd file to Win32odbc.pyd,
although the installation notes for mxODBC do mention a couple of
other approaches.
With recent Pythons there is less chance of confusion as the mxODBC
package is now imported as mx.ODBC.<platform>, so no conflict occurs.