SebAlbert opened a new issue, #1908:
URL: https://github.com/apache/arrow-adbc/issues/1908
### What would you like help with?
When installing (via `pip`) the package `adbc_driver_postgresql`, I get a
runtime error from an import that suggests (and is indeed fixed by) also
installing `pyarrow` via pip:
```
Traceback (most recent call last):
File "/...venv/lib/python3.11/site-packages/adbc_driver_manager/dbapi.py",
line 42, in <module>
import pyarrow
ModuleNotFoundError: No module named 'pyarrow'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "....my_code.py", line 9, in <module>
from adbc_driver_postgresql import dbapi
File
"/...venv/lib/python3.11/site-packages/adbc_driver_postgresql/dbapi.py", line
25, in <module>
import adbc_driver_manager.dbapi
File "/...venv/lib/python3.11/site-packages/adbc_driver_manager/dbapi.py",
line 44, in <module>
raise ImportError("PyArrow is required for the DBAPI-compatible
interface") from e
ImportError: PyArrow is required for the DBAPI-compatible interface
```
Should this not be a declared requirement of the python package in the first
place?
On the other hand, is there a more minimal way than installing `pyarrow`
with 40 MB which in turn ties in `numpy` with another 18 MB? It "feels" quite
heavy.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]