@Windows
1. pip install pyodbc
2. Install Windows ODBC driver: https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-2016
1. freeTDS install using apt
- Explanation
- tdsodbc => /usr/lib/x86_64-linux-gnu/odbc/libtdsodbc.so
- freetds-dev freetds-bin => /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so and etc files
2. edit or add in /etc/odbcinst.ini
- Example code:
Comments
Post a Comment