psycopg / psycopg2

PostgreSQL database adapter for the Python programming language
https://www.psycopg.org/
Other
3.35k stars 506 forks source link

python 3.12 after reinstall visual bool tools #1629

Closed jdfoxito closed 1 year ago

jdfoxito commented 1 year ago

File "", line 2, in create_engine File "D:\uf\py\Lib\site-packages\sqlalchemy\util\deprecations.py", line 281, in warned return fn(*args, kwargs) # type: ignore[no-any-return] ^^^^^^^^^^^^^^^^^^^ File "D:\uf\py\Lib\site-packages\sqlalchemy\engine\create.py", line 601, in create_engine dbapi = dbapi_meth(dbapi_args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\uf\py\Lib\site-packages\sqlalchemy\dialects\postgresql\psycopg2.py", line 690, in import_dbapi import psycopg2 File "D:\uf\py\Lib\site-packages\psycopg2__init__.py", line 51, in from psycopg2._psycopg import ( # noqa ImportError: DLL load failed while importing _psycopg: The specified module could not be found.

dvarrazzo commented 1 year ago

The packages are tested and work. Probably you are in DLL hell. Try restarting your machine.

jdfoxito commented 1 year ago

i had restarted my server, and still i-ve the same error