How to use arrow support with pip?
On Ubuntu 20, I am unable to install turbodbc with arrow support.
What I tried:
python3 --version # Python 3.8.10
python3 -m venv venv
source venv/bin/activate
pip install -U pip
pip install turbodbc[arrow] --no-cache-dir # Successfully installed numpy-1.22.2 pyarrow-7.0.0 turbodbc-4.5.3
python -c "import turbodbc_arrow_support" # ModuleNotFoundError: No module named 'turbodbc_arrow_support'
Trying to use a cursor with a pyarrow Table fails with
turbodbc.exceptions.Error: This installation of turbodbc does not support Apache Arrow extensions. Please install the
pyarrowpackage. If you have built turbodbc from source, you may also need to reinstall turbodbc to compile the extensions.
Any ideas on what am I missing here?
@jorgecarleitao Check out my comment on my issue I recently closed. It's based on Docker with Ubuntu 20.04, hope it helps!
Confirming that this solution worked for me as well.
With release 4.5.9, this should also be much better. Closing for now.