This question has been asked before (see link below) but I'm still having issues even though both my Python and MS Office are 64-bit. After ensuring both are 64-bit, I tried running the following code:
conn = pyodbc.connect(r'Driver={Microsoft Access Driver (*.mdb, *.accdb)};DBQ=Q:\Data Requests\Boarding.accdb;')
but still got the following error:
InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')
Also of note, I am able to connect and pull data into Python from my SQL server just fine using this code:
conn = pyodbc.connect('Driver={SQL Server};'
'Server=ENTSNR;'
'Database=EMData;'
'Trusted_Connection=yes;')
PYODBC--Data source name not found and no default driver specified