raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e) django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: DLL load failed while importing _psycopg: The specified module could not be found.
我已经安装了letest postgres安装程序
已安装psycopg2
答案 0 :(得分:0)
答案 1 :(得分:0)
我只是通过安装第二个最新的python版本来解决此错误,并使用pip install postgres
安装PostgreSQL,这将安装psycopg2和psycopg2-binary