How to build pyodbc with links to iODBC in macOS?
问题 In Driver for pyodbc: how to specify its location in macOS?, TallTed suggested to open question to explain the following Build pyodbc with links to iODBC (not its default of UnixODBC, which is not typical for macOS). so now with the focus — How can I build pyodbc with links to iODBC (not its default of UnixODBC, which is not typical for macOS)? 回答1: This should/might work in 4.0.23, as it was the way it was done up to pyodbc v3.0.7: First, in the file 'setup.py' change line 165 from: settings