faqts : Computers : Programming : Languages : Python : Modules

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 8 people (75%) answered Yes
Recently 5 of 7 people (71%) answered Yes

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.