Teradata with SQLAlchemy cannot open shared object file teradatasql.so

51 views Asked by At

I'm trying to connect to a Teradata database with SQLAlchemy using:

$ pip list | grep -i teradatasql
teradatasql                 20.0.0.0
teradatasqlalchemy          17.20.0.0

The first time I try to connect with the following connection string:

conn_string = f'teradatasql://{username}:{password}@{host}:{port}'

I get this error:

.venv/lib/python3.11/site-packages/teradatasql/teradatasql.so: cannot open shared object file: No such file or directory

But any subsequent call would return a different error:

'NoneType' object has no attribute 'goCombineJSON'"

How can I connect to Teradata using SQLAlchemy?

0

There are 0 answers