Ich habe diesen Fehler erhalten:
Code: Select all
Traceback (most recent call last):File "...\PycharmProjects\pythonProject\database.py",
line 1, in import psycopg2File "...\PycharmProjects\pythonProject\venv\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.
Code: Select all
pip install --force-reinstall psycopg2-binary
- Ich habe Microsoft Visual C++ Redistributable installiert
- Ich habe Virtual Environment und die psycopg2-binary-Bibliothek neu erstellt