-2

I can not install psycopg2 gives an error what to do I just started to study and already such traps help.

Error:

    File "C:\Users\МК\AppData\Local\Programs\Python\Python39\lib\site-packages\django\db\backends\postgresql\base.py", line 29, in <module>
    raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: DLL load failed while importing _psycopg: Не найден указанный модуль.
4

1 回答 1

0

试试这个,它应该工作

pip install psycopg2-binary
于 2020-10-29T14:26:03.797 回答