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.
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.