How to install pyodbc 64-bit?

后端 未结 2 1518
甜味超标
甜味超标 2020-12-18 00:49

I have Python 2.7, MySQL 5.5, MySQL ODBC Connector 5.1, and pyodbc all installed on my computer, which is running Windows 7, 64-bit...

Only problem is that everythi

2条回答
  •  佛祖请我去吃肉
    2020-12-18 01:19

    I spend a lot time to find out why pyodbc can't see 64 bit ODBC driver because I confused between bitness of Windows. So I will make it clear that

    Python 32 bit + pyodbc 32 bit (default when install from pip) will read driver from %windir%\SysWOW64\odbcad32.exe

    Python 64 bit + pyodbc 64 bit (you have to download from here) will read driver from %windir%\System32\odbcad32.exe

提交回复
热议问题