Skip to content

cannot make the mssql framework to connect to the db - missing package error #10316

Closed Answered by gforsyth
fnagy asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @fnagy --

The mssql backend uses pyodbc which requires installing an ODBC driver separately if you install using a Python-only package manager (i.e. something that isn't conda, mamba, pixi, or nix).

If you scroll up in the error message, you should see something about a failure to load the shared object file libodbc.so.2 (or similar).

If you are on OSX, you should be able to brew install unixodbc -- there's a similar package for Linux distributions, too. You can see the pyodbc install wiki for more information on how to install the non-Python dependency part of this: https://github.com/mkleehammer/pyodbc/wiki/Install

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by gforsyth
Comment options

You must be logged in to vote
2 replies
@gforsyth
Comment options

@fnagy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants