首页 > 解决方案 > DLL Load failed error when installing opencv for Python 3.6.3 on Windows 10

问题描述

I have python 3.6.3 32-bit version running on windows 10 64-bit machine.

python version info

Since the opencv found on this official website only supports python 2.7, I read here that I can use the following method to install opencv for python 3.6

However when I try to import cv2 in python, I get the following error:

>>> import cv2
  Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  ImportError: DLL load failed: The specified module could not be found.

I also tried downloading opencv for python 3.6 from this unofficial site and following these instructions.

I am still getting the same error. Can somebody help me fix this?

标签: pythonopencv

解决方案


问题是您在 64 位 Windows 机器上使用 32 位 Python 发行版,因此它无法在 AMD 64 位平台上加载 IA 32 位 .dll。

将 Python 发行版更改为 64 位发行版,希望它能正常工作。


推荐阅读