Instalasi Python Pyodbc

# Linux fix
apt-get update
apt-get install unixodbc-dev
pip install pyodbc

#Windows 
1- Download from this link https://www.python.org/downloads/release/python-3104/  # Depending on version you can pur your own instead of 3104 which is python3.10.4
 For example, if you are on a 64-bit machine, download the Python 2.7 or 3.10 (x64) installer.

2- Install Python. Once the installer is downloaded, do the following steps:

 a- Double-click the file to start the installer.
 b- Select your language, and agree to the terms.
 c- Follow the instructions on the screen to install Python on your computer.
 d- You can verify that Python is installed by going to a command prompt and running python -V or py -V (for 3.x). You can also search for Python in the start menu.
3 - Install the Microsoft ODBC Driver for SQL Server on Windows. https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver15#download-for-windows

4- Open cmd.exe as an administrator.

5- Install pyodbc using pip - Python package manager. (Replace C:\Python27\Scripts with your installed Python path)
Friendly Fowl