pymssql error: src/_mssql.c:568:22: fatal error: sqlfront.h: No such file or directory

The error

When you get the error:

src/_mssql.c:568:22: fatal error: sqlfront.h: No such file or directory

Solution

Try to install freetds-dev with:

sudo apt install freetds-dev