Have a look at this code
Kindly install pip package pymssql in the frappe environment before installing the app.