[python] PYODBC--Data source name not found and no default driver specified

I am also getting same error. Finally i have found the solution.

We can search odbc in our local program and check for version of odbc. In my case i have version 17 and 11 so. i have used 17 in connection string

enter image description here

'DRIVER={ODBC Driver 17 for SQL Server}'