DLL load failed error when importing cv2

Cameron Wasilewsky picture Cameron Wasilewsky · Apr 3, 2017 · Viewed 119.5k times · Source

I have installed opencv on my windows machine using python 3.6 without any issues, using:

pip install opencv-python

but when I try to import cv2 I get the following error

ImportError: DLL load failed: The specified module could not be found.

I have seen this post

It says cv2 doesn't work with python 3 I was wondering if this has been fixed or if there is a way around it

Answer

tientuyen07 picture tientuyen07 · Jan 24, 2018

I took a lot of time to solve this error! Run command

pip install opencv-contrib-python