I would like to read an access file (mdb) with pyodbc. The code is supposed to be very simple:
import pyodbc
DBfile = './test.mdb'
conn = pyodbc.connect('DRIVER={Microsoft Access Driver (*.mdb)};DBQ='+DBfile)
where the python script and the mdb file are in the same folder. However, I get the following error:
Error: ('01000', "[01000] [unixODBC][Driver Manager]Can't open lib 'Microsoft Access Driver (*.mdb)' : file not found (0) (SQLDriverConnect)")
where am I wrong?
thanks a lot for any kind of help.