[英]I can not install psycopg2 gives an error what to do
I can not install psycopg2 gives an error what to do I just started to study and already such traps help.我无法安装 psycopg2 给出了一个错误该怎么办我刚开始学习并且已经有这样的陷阱帮助。
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: Не найден указанный модуль.
试试这个,它应该工作
pip install psycopg2-binary
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.