-
-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: undefined symbol: PQencryptPasswordConn #1462
Comments
Hello, I suspect you have more than one libpq installed in the system: at build time a newer version is used (Postgres >= 10, which includes the above function), but at runtime an older version is found. What have you got related to libpq in your system? You can check with:
What pg_config is found?
What libpq is being used at runtime? The libpq is dynamically linked to the C module, which is named in a pattern such as
the last path is somewhere in your Python packages, it refers to a file |
psycopg2cffi is a separate package: see here: https://pypi.org/project/psycopg2cffi/ If that's what you are trying to use you should hear from that project, not from this one.
I don't know which architecture the raspberry pi is, so I assume |
Hi,
I am all new to postgres and psycopg2 so I am sorry for my bad language and explaining.
I have an easy Python application running on a Revolution Pi but I get error when importing the psycopg2:
Here is my information
I have tried reinstalling the packages using both pip and build from source, as many suggest from 1018 and 1093, but the error is still present.
What am I missing?
Thanks
The text was updated successfully, but these errors were encountered: