无法打开lib' FreeTDS' :找不到文件(0)(SQLDriverConnect)无法使用PyODBC连接MSSQL

时间:2017-12-14 20:06:40

标签: python sql-server macos pyodbc

我试图在Mac上使用Pypyodbc连接到SQL Server,我收到以下错误:

if (needsRefresh) {
  let firstRun = true;
  return Observable.if(
    () => {
      if (firstRun) {
        firstRun = false;
        return true;
      }
      else {
        return false;
      }
   },
   this.requestSet(key, where).switchMap(() => this._cachedSets.get(key)),
                this._cachedSets.get(key)
   );
 }
 else {
   return this._cachedSets.get(key);
 }

以下是我的代码:

Driver Manager]Can't open lib 'FreeTDS' : file not found (0) (SQLDriverConnect)

ODBCINST.INI enter image description here

ODBC.INI

enter image description here

freetds.conf

enter image description here

有人可以帮忙吗?感谢

0 个答案:

没有答案