I\'ve been beating my head against this for a few days now. I\'m trying to use pyodbc to connect to a Microsoft Access DB, and I can\'t seem to get the connection string rig
This is a 64-bitness problem. I solved it by using 32-bits python and pyodbc.
Try adding Provider=MSDASQL. It's deprecated but it seems to work OK:
Provider=MSDASQL
cnxn = pyodbc.connect(r'DRIVER={Microsoft Access Driver (*.mdb, *.accdb)}; DBQ=C:\Path\to\file.accdb; Provider=MSDASQL;')