[英]Import cv2: ImportError: DLL load failed: windows 7 Anaconda 4.3.0 (64-bit) Python 3.6.0
I am using Anaconda 4.3.0 (64-bit) Python 3.6.0 on windows 7. I am getting the error "ImportError: DLL load failed: The specified module could not be found." 我在Windows 7上使用Anaconda 4.3.0(64位)Python 3.6.0。我收到错误“ImportError:DLL加载失败:找不到指定的模块。” for importing the package import cv2.
用于导入包导入cv2。
I have downloaded the OpenCV package and copy paste cv2.pyd into the Anaconda site package and updated my system path to point to OpenCV bin path to get the DLL. 我已下载OpenCV包并将cv2.pyd粘贴到Anaconda站点包中,并更新了我的系统路径以指向OpenCV bin路径以获取DLL。 Still I am not able resolve this issue.
我仍然无法解决这个问题。
I did another way to install using pip install opencv-python. 我用另一种方法使用pip install opencv-python进行安装。 Still not working.
还是行不通。
Please need suggestions. 请提出建议。 Thank you
谢谢
使用python 2.7.1.0而不是python 3,cv2工作和使用python 2.7后修复dll加载错误
I had the same issue- However open cv was running fine, after installing some other packages and updating I got the DLL load failed when I tried to import cv2 我有同样的问题 - 但是开放的cv运行正常,安装了一些其他软件包并更新后,当我尝试导入cv2时,我的DLL加载失败了
I fixed this by typing in the conda prompt: 我通过输入conda提示修复了这个问题:
pip intall opencv-contrib-python
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.