-
-
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 #1093
Comments
In your case psycopg was built on a system with a pg_config >= 10 and then moved on a system which at runtime has libpq < 10 I don't believe this is possible with wheels, because they ship with the libpq used at build time and it is > 10. I don't know what conda pack and unpack do, but they are not doing it right. Please open a bug with them, pointing them to this bug for explanations. |
Thanks As a quick fix I can report that downgrading psycopg2 and sqlalchemy to the following versions fixed the problem:
|
works for me. thanks a lot! |
While using sqlalchemy on a remote computer I ran into this ImportError (which Ican get just by running
import psycopg2
):Python is running on a conda environment, which was packed (
conda pack
)scp
ed and unpacked (conda-unpack
) into the remote computer.Python packages are on
~/<conda-env>/lib/python3.7/site-packages
I have these psycopg packages installed from pypi:
I have seen this issue #1018 but cannot seem to solve it by installing from source as that user did.
Am I missing any dependency?
Thanks :)
The text was updated successfully, but these errors were encountered: