when i import the library psycopg2 in pycharm and run the code they give me the following error : Traceback (most recent call last):
File “C:UsersTHINKPycharmProjectsmarketprojetprojett.py”, line 1, in
import psycopg2
File “C:UsersTHINKAppDataLocalProgramsPythonPython313Libsite-packagespsycopg2_init_.py”, line 51, in
from psycopg2._psycopg import ( # noqa
…<10 lines>…
)
ImportError: DLL load failed while importing _psycopg: Le module spécifié est introuvable.
i asked chatgpt but without results
Youssef Laghouiyel is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1