According to the web site [http://docs.opencv.org/3.1.0/d5/de5/tutorial_py_setup_in_windows.html] method 2 manual compiled OpenCV3.1.0 and install python.
but error “DLL load failed: The specified module could not be found” appears when importing cv2.
I looked for the following reasons online, the possible reason is that
1) opencv and python corresponding versions are different, such as one is 32bit and one is 64bit. Pyd
2) did not add cv2.pyd to C:/Python27/lib/site-packages
3) system environment variable could not be found cv2.pyd
the final solution to my computer problem was:
add [C:\ opencv-3.1.0 \build\bin\Release] to system environment variable.
but error “DLL load failed: The specified module could not be found” appears when importing cv2.
I looked for the following reasons online, the possible reason is that
1) opencv and python corresponding versions are different, such as one is 32bit and one is 64bit. Pyd
2) did not add cv2.pyd to C:/Python27/lib/site-packages
3) system environment variable could not be found cv2.pyd
the final solution to my computer problem was:
add [C:\ opencv-3.1.0 \build\bin\Release] to system environment variable.
Read More:
- tensorflow import error: DLL load failed: The specified module could not be found (DLL load failed: The specified module could not be found)
- Tensorflow import error: DLL load failed: the specified module could not be found
- Python import GDAL failed: DLL load failed. The specified module cannot be found.
- ImportError: DLL load failed: The specified module could not be found
- Python’s importerror: DLL load failed: the specified module was not found and the problem was solved
- vscode import numpy error:DLL load failed: The specific module could not be found
- Error loading Python DLL ‘python36.dll’. LoadLibrary: The specified module could not be found.
- After tensorflow installation, an error occurred while importing: importerror: DLL load failed: the specified module could not be found
- ImportError: DLL load failed while importing xxx: The specified program could not be found.
- Importerror using tensorflow: DLL load failed: the specified program cannot be found
- DLL load failed: The specified procedure could not be found
- Ctypes loading DLL error oserror: [winerror 126] the specified module could not be found
- Sdl2 – importerror: DLL load failed: the specified module was not found.
- Python error: importerror: DLL load failed: unable to find the specified module solution
- from ._ NNLS import NNLS importerror: DLL load failed: the specified module was not found.
- How to solve “import cv2 failed ImportError: DLL load fail: Cannot find the specified module” in Anaconda environment
- Jumper notebook, import numpy, prompt “importerror: DLL load failed: unable to find the specified module”
- Windows10解决ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed
- (EE) Failed to load module “fbdev” (module does not exist, 0)
- Finally solved the importError: DLLload failed: the specified module could not be found when import matplotlib.pyplot