You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "fbalicchia (via GitHub)" <gi...@apache.org> on 2023/11/01 17:31:11 UTC
[I] AdbcDriverPostgresqlInit undefined in Python Lib 0.7.0 [arrow-adbc]
fbalicchia opened a new issue, #1244:
URL: https://github.com/apache/arrow-adbc/issues/1244
I'm trying to use the adbc library in Python 3.11 to interact with a PostgreSQL database, but I'm encountering an error related to the adbc_driver_postgresql module. The error message provided suggests that there's an issue with the PostgreSQL driver initialization.
```
adbc_driver_manager.InternalError: INTERNAL: dlsym(AdbcDriverPostgresqlInit) failed: /home/arrow-adbc/python/adbc_driver_postgresql/adbc_driver_postgresql/libadbc_driver_postgresql.so: undefined symbol: AdbcDriverPostgresqlInit
```
Snippet that I used to reproduce the problem is
```
import adbc_driver_sqlite.dbapi
with adbc_driver_sqlite.dbapi.connect() as conn:
with conn.cursor() as cur:
cur.execute("SELECT 1")
print(cur.fetch_arrow_table())
```
In my env there are the following deps
```
adbc-driver-manager 0.7.0
adbc-driver-postgresql 0.7.0
numpy 1.26.1
pip 23.3
pyarrow 12.0.0
setuptools 68.0.0
wheel 0.41.2
```
and I bootstrap postgresql with
```shell
$ docker run -it --rm \
-e POSTGRES_PASSWORD=password \
-e POSTGRES_DB=tempdb \
-p 5432:5432 \
postgres
```
Can you please suggest some actions to continue with my experiments?
--
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: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AdbcDriverPostgresqlInit undefined in Python Lib 0.7.0 [arrow-adbc]
Posted by "fbalicchia (via GitHub)" <gi...@apache.org>.
fbalicchia commented on issue #1244:
URL: https://github.com/apache/arrow-adbc/issues/1244#issuecomment-1789584994
Thanks @lidavidm . Yes, you are right my shell pointed to the local installation. Now it works
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AdbcDriverPostgresqlInit undefined in Python Lib 0.7.0 [arrow-adbc]
Posted by "fbalicchia (via GitHub)" <gi...@apache.org>.
fbalicchia closed issue #1244: AdbcDriverPostgresqlInit undefined in Python Lib 0.7.0
URL: https://github.com/apache/arrow-adbc/issues/1244
--
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: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AdbcDriverPostgresqlInit undefined in Python Lib 0.7.0 [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #1244:
URL: https://github.com/apache/arrow-adbc/issues/1244#issuecomment-1789434051
How did you install everything? That path looks wrong, like it's trying to use a local install of ADBC, and not your wheel.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org