from psycopg2._psycopg import ( ortError: DLL load failed: 找不到指定的模块。的一种解决方案

 from psycopg2._psycopg import ( ortError: DLL load failed: 找不到指定的模块。

psycopg2是python连接postgresql的适配器

如果您安装psycopg2模块成功,但是依旧还报上面的错误,原因可能是Python找不到postgresql的可执行模块dll了

把postgresql 的bin 和 lib加到系统路径里面可以解决这种问题

原文地址:https://www.cnblogs.com/qianheng/p/6710123.html