psycopg2 ImportError: DLL load failed
Failed dll load ImportError
2023-09-14 09:06:22 时间
setup.py install 报错
error: command 'mt.exe' failed: No such file or directory
或者 Unable to find vcvarsall.bat
于是 用 setup.py insall build --compiler=mingw32
操心没装 mingw32,可是喜悦地发现曾经装 Ada 的 GNAT 的时候 bin 里面有mingw32 非常多好东西,
并且已经在 path 中了,于是成功安装。
可是在 import psycopg2 的时候报错:
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME
ImportError: DLL load failed。
于是下载编译好的windows版本号:
http://www.stickpeople.com/projects/python/win-psycopg/
欧了, 逗。
相关文章
- 如何安装HAXM,如何解决HAXM installation failed问题
- Pycharm中出现ImportError:DLL load failed:找不到指定模块的解决方法
- 【错误记录】Android Studio 向 GitHub 提交代码报错 ( Push failed: Failed with error: Could not read from remote )
- ORA-27614: Smart I/O failed due to an error “string, string” from the cell “string”. disk: “string”, block: “string”, disk offset: “string” I/O size: “string” ORACLE 报错 故障修复 远程处理
- ORA-30999: XML context creation failed while string ORACLE 报错 故障修复 远程处理
- MySQL Error number: 4116; Symbol: ER_COMMAND_SERVICE_BACKEND_FAILED; SQLSTATE: HY000 报错 故障修复 远程处理
- MySQL Error number: MY-011260; Symbol: ER_SYS_VAR_COMPONENT_FAILED_TO_MAKE_VARIABLE_PERSISTENT; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-06790: TLI Driver: poll failed ORACLE 报错 故障修复 远程处理
- ORA-13135: failed to alter spatial table ORACLE 报错 故障修复 远程处理
- ORA-13234: failed to access R-tree-index table [string] ORACLE 报错 故障修复 远程处理
- 注入破解Oracle数据库:DLL注入攻击策略(oracle的dll)
- MySQL驱动DLL在C编程中的应用(c mysql驱动dll)
- 下载MySQL DLL,轻松实现数据库操作(mysql下载dll)
- Oracle DLL连接数据库的实现方法(oracle dll连接)
- Oracle DLL文件安装记录步步保驾护航(oracle dll文件)