Dependencies
This section describes the dependencies for using Python with the CData ODBC Driver for Microsoft Excel Online.
Configure unixODBC (Linux and Mac Only)
pyodbc uses unixODBC on Linux and Mac, so make sure your driver is configured as described in Using unixODBC before continuing.
Install pyodbc
You can use pip to install the module.
pip install pyodbc
Using pyodbc
To use pyodbc, you must import the pyodbc package.
import pyodbc