Using alembic after upgrading to postgresql 16 results to error #1579
-
Hello, I am getting this error when I execute
As i wrote in the heading, I was using alembic with postgresql 15 but the problem started after upgrading to version 16. I installed I would appreciate any ideas to resolve this. Update The file indeed exists but alembic is trying to find it in a different location, spot the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Alembic is working again by setting this environment variable in my
However, i still do not understand what is the root cause of this, i.e what causes alembic to look at this specific set of paths and why it misses the |
Beta Was this translation helpful? Give feedback.
-
this is a driver installation issue and you'd want to consult with psycopg2 at https://github.com/psycopg/psycopg2 |
Beta Was this translation helpful? Give feedback.
Alembic is working again by setting this environment variable in my
.zshrc
. I found this information after little googling and chatgptingexport DYLD_LIBRARY_PATH=/opt/homebrew/Cellar/postgresql@16/16.6/lib:$DYLD_LIBRARY_PATH
However, i still do not understand what is the root cause of this, i.e what causes alembic to look at this specific set of paths and why it misses the
@16
.