This section describes the dependencies for using Python with the CData ODBC Driver for Amazon Athena.
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.
You can use pip to install the module.
pip install pyodbc
To use pyodbc, you must import the pyodbc package.