Teradata/PyTd

Not working with Python 3.6

brot opened this issue · 1 comments

brot commented

Module is not working with Python3.6

import teradata

udaExec = teradata.UdaExec(appName="MyApp", version="1.0", logConsole=True)
session = udaExec.connect(method="odbc", system="db", username="user", password="pass")

After the driver was loaded successfully (Available drivers: ODBC DRIVERS, Teradata), the following error occurs in udaExec.connect

teradata.api.DatabaseError: (0, '[I] [. Check that the ODBC driver is installed and the ODBCINI or ODBCINST environment variables are correctly set.')

With Python3.5 everything seems fine

brot commented

Ok, the problem was an my side. I used the latest version of Anaconda and with this installation there are a lot of packages preinstalled. Also pyodbc and unixodbc. After uninstalling both modules the teradata module works fine with python3.6 (from Anaconda)