简体   繁体   English

opencv不适用于我的python3.4

[英]opencv not working on my python3.4

Windows XP SP2 - 32 bit Python 32 bit. Windows XP SP2-32位Python 32位。 I installed numpy 1.9 from lfe pre built libraries and matplotlib from pip. 我从lfe预制库安装了numpy 1.9,从pip安装了matplotlib。 Both works fine on IDLE (successfully imported). 两者都可以在IDLE(成功导入)上正常工作。

I installed opencv binary from lfe as well but on importing it, an importerror occurs. 我也从lfe安装了opencv二进制文件,但是在导入它时,发生importerror。

Traceback (most recent call last): File "", line 1, in import cv2 ImportError: DLL load failed: The specified procedure could not be found. 追溯(最近一次调用):导入cv2中文件“”,行1,ImportError:DLL加载失败:找不到指定的过程。

using dependency walker on cv2.pyd gives this msg : 在cv2.pyd上使用dependency walker可以得到以下消息:

Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module. 错误:由于隐式相关模块中缺少导出功能,因此至少一个模块的导入无法解析。 Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. 警告:由于依赖于延迟负载的模块缺少导出功能,因此至少一个模块的导入无法解析。

What can I do to resolve this. 我该怎么办才能解决这个问题。

Try to Build tour own OPencv Binary from source using cmake or use the standard binary available here. 尝试使用cmake从源代码构建游览自己的OPencv二进制文件,或使用此处提供的标准二进制文件。

http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0/opencv-3.0.0.exe/download http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0/opencv-3.0.0.exe/download

the package you might be using must be broken. 您可能正在使用的包装必须破损。 so use the above methods. 因此请使用上述方法。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM