I use this code to connect to Access 2013:
conn_str = r"Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\_DELOITTE\Statistics.mdb;"
self.conn = pyodbc.connect(conn_str)
I get the following error:
pyodbc.Error: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')
I use Windows 8, Intel processor, 32-bit Access, and Python 2.7.
In Administrative Tools I have ODBC Data Sources (32-bit) and ODBC Data Sources (64-bit) both pointing at %windir%\system32\odbcad32.exe. Only "System DSN" is filled in, but no "User DSN".
