skip to Main Content

When I try and connect to teradata, I get this error:

OSError: /home/***/.local/lib/python3.8/site-packages/teradatasql/teradatasql.so: cannot open shared object file: No such file or directory

I installed teradatasql using pip install teradatasql.
I also installed teradatasqlalchemy

I cannot find much help online so any help here is appreciated.

2

Answers


  1. A couple of things you can check out:

    1. Check if you have the dependencies needed: sudo apt-get install libodbc1.

    2. Check that its installed correctly pip show teradatasql. It should return the path.

    3. See if the path is in your .bashrc/.zshrc file export LD_LIBRARY_PATH=/path/to/teradata/cliv2/lib:$LD_LIBRARY_PATH

    4. Check if this file actually exists in that location /home/***/.local/lib/python3.8/site-packages/teradatasql/teradatasql.so If not, there might have been an issue during the installation.

    Login or Signup to reply.
  2. The teradatasql driver only supports Linux x86-64 architecture right now. If you are installing on Linux ARM, then it will not work. Linux ARM support is planned for the future.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search