Joldz ๐ฎ
I keep getting an error that says that the psycopg2 python module doesn't exist when i run code
I just have โimport psycopg2โ at the top of the file. And I donโt think so. The company I work for has it set up for us to use so I donโt think itโs cloud.
9 replies
I keep getting an error that says that the psycopg2 python module doesn't exist when i run code
Nevermind, I am now also getting this error on psycopg module as well. Here's the full error:
ExitCode: 1, last log lines:
mill/cache/pip/psycopg==3.2.1/psycopg/pq/init.py", line 118, in <module>
import_from_libpq()
File "/tmp/windmill/cache/pip/psycopg==3.2.1/psycopg/pq/init.py", line 110, in import_from_libpq
raise ImportError(
ImportError: no pq wrapper available.
Attempts made:
- couldn't import psycopg 'c' implementation: No module named 'psycopg_c'
- couldn't import psycopg 'binary' implementation: cannot import name 'pq' from 'psycopg_binary' (/tmp/windmill/cache/pip/psycopg-binary==3.2.1/psycopg_binary/init.py)
- couldn't import psycopg 'python' implementation: libpq library not found
9 replies