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
- Solution of OpenCV library import error in Python 3
- cannot import name ‘_validate_lengths’ from ‘numpy.lib.arraypad’
- In Python, import XXX does not report an error, but in IPython (Jupiter notebook)
- Scrapy runs a crawler with an error importerror: cannot import name suppress
- Importerror: the perfect solution of no module named CV2!!! (not too good)
- Fatal Python error: initfsencoding: unable to load the file system codec
- The problem of “value error: zero length field name in format” in Python 2.6.6 of CentOS 6.9
- ModuleNotFoundError: No module named xxx
- Building wheel for wrapt (setup.py) … error
- Installation and unloading of Python module
- Mac upgrade pip
- An error occurred when starting pyspider with Python 3.7
- Ctypes loading DLL error oserror: [winerror 126] the specified module could not be found
- (29)RuntimeError: cuda runtime error (999)
- ModuleNotFoundError: No module named ‘numpy.testing.nosetester‘
- Error in PIP command execution – syntax error: invalid syntax
- Modulenotfounderror: no module named ‘CV2’ – (version problem)
- [error reported] [Python] [Matplotlib] importerror: failed to import any QT binding