The code runs successfully locally in the terminal. ('01000', ' Can't open lib 'ODBC, ('01000', ' Can't open lib 'ODBC Driver 17 for SQL Server' : file not found (0) (SQLDriverConnect)') #717. Also I tried installing msodbcsql17 looks like its already installed.Ĭan't open lib 'odbc driver 17 for sql server' : file not found (0) (sqldriverconnect) unixodbc-dev : Depends: unixodbc (= 2.3.7) Depends: odbcinst1debian2 (= 2.3.7) but it is not going to be installed E: Unable to correct problems, you have held broken packages. unixodbc-dev-utf16 : Depends: Depends: msodbcsql17 (>= 17.3.0.0) but it is not going to be installed. GitHub, The following information may help to resolve the situation: The following packages have unmet dependencies.But I have already tried all recomendations: Only relevant discussion of this problem is here. The following information may help to resolve the situation: The following packages have unmet dependencies: msodbcsql17 : Depends: unixodbc (>= 2.3.1) but it is not installable E: Unable to correct problems, you have held broken packages. E: Unable to correct problems, you have held broken packages. Dependencies, 0.0) but it is not going to be installed Depends: msodbcsql17 (= 2.3.1) but it is not installable.