turbodbc: can't install turbodbc after pyarrow and numpy on Ubuntu

I am trying to install turbodbc using pip and I am finding the following error:

image

I have installed all the dependencies said in the docs but no success there, please, if there is any check I can make to debug this issue. But I have a restriction of using pip (so no conda there), does anyone has suffered from the same problem?

The command I used to install was:

pip install pyarrow numpy
pip install turbodbc

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 5
  • Comments: 31

Most upvoted comments

@felipebormann I can see that the pyarrow directory is successfully included in your logs via -L/home/bormann/.cache/pypoetry/virtualenvs/ss-to-gcs-Pt_WyeZ6-py3.7/lib/python3.7/site-packages/pyarrow I think the issue is here that the newest pyarrow doesn’t come anymore with libarrow.so but only with libarrow.so.100 and the equal situation for libpython.

As a short-term workaround, you can go into the /home/bormann/.cache/pypoetry/virtualenvs/ss-to-gcs-Pt_WyeZ6-py3.7/lib/python3.7/site-packages/pyarrow and create two symlinks for libarrow.so and libarrow_python.so that point to the respective version-number-suffixed version.

I will have a look later (might be some days) on fixing this directly inside the setup.py of turbodbc so that there is no need anymore to manually create these symlinks.

@vijaysaimutyala Please take some time and look at the actual error and not post random things here. These command help in other issues but are not useful here and might even lead to further problems.

@felipebormann Let’s get this fixed. It would be nice for me to reproduce your system as close as possible. The above pip list is already helping much but can you also tell me your Linux distribution?

@xhochy I am sorry for the late response. I am using Ubuntu 20.04. Do you need something else?

@vijaysaimutyala Best is to open a new issue and continue there. I already mentioned on StackOverflow that in your case using the conda package should work, it probably isn’t easily installable because there is some dependency conflict with an other package. Using https://github.com/mamba-org/mamba you should get some better information what this package conflict is. Once we have that information, we can discuss in the new issue how to solve that.