Postgres database connection requires psycopg2 library which causes pickle error #1824
chimeracle
announced in
Q&A
Replies: 1 comment 1 reply
-
Hi @chimeracle,
Hope that helps. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Attempting to query from a Postgres database causes a psycopg2 missing error. After pip installing psycopg2 and then attempting to "reflex run", I get the error: TypeError: cannot pickle 'module' object. Uninstalling the psycopg2 library and attempting to run gives the error: ModuleNotFoundError: No module named 'psycopg2'. Am I missing something in my configuration? Do I need different versions of anything?
config
Psycopg2 installed:
Uninstalled psycopg2 error:
Beta Was this translation helpful? Give feedback.
All reactions