How to install the Python ODBC Driver in Windows?

Today lesson is how we will install the Python OCBC Driver to connect to MSSQL Server. We are using python (Latest: Python 3.8.2) and pyodbc plugin to achieve this.

1. Install the Python
– Download the latest version of Python 3.8.2

2. Install the Microsoft ODBC Driver for SQL Server on Windows
– Download the latest version of ODBC Driver

3. Download and install pyodbc library

$ pip install pyodbc

That’s it. I hope this will help. 🙂
Photo: https://www.brandeps.com

Leave a Reply

Your email address will not be published. Required fields are marked *