python odbc connection

Connectivity

python odbc connection

I'm trying to follow the directions here, but run into issues:

https://community.teradata.com/t5/Blog/Python-with-Teradata-ODBC/ba-p/68181

 

I've installed the ODBC v15 driver for Teradata using the RPM, but I do not have a file at this location:

/opt/teradata/client/15.10/odbc_64/odbc.ini

 

Instead, I have an odbc.ini file here:

/etc/odbc.ini

/opt/teradata/client/15.10/tbuild/odbc/odbc.ini

/opt/teradata/client/15.10/tbuild/odbc/lib/odbc.in

 

Can I just use one of those instead?  What's supposed to be in this file?

 

Secondly, can I just install pyodbc using pip?  Why do I have to modify the source?

 

thanks

1 REPLY
N/A

Re: python odbc connection

Hi,

Could you please help me if you have resolved the issue? I also have the same issue. Appreciate your help.