I really did not want to start my own question with this, because this seems to be a common mistake here. However, after spending several hours on it now and after every thread that I could find, none of these answers sorted it out for me.
Therefore, my only option is to provide all the information I can about the setup, and I hope that one of you can recognize the problem.
I am running Windows 10 (x64) and have installed the following prebuilt binaries from the collection here .
- python 3.5.0-win32 (installed from the python website)
- numpy 1.10-cp35-win32
- matplotlib 1.4.3-cp35-win32
- opencv 3.0.0-cp35-win32
Everything was installed using "pip install file_name.whl" without error messages. However, the difference open cv will not be imported, and I get the following error:
>>> import cv2 Traceback (most recent call last): File "<input>", line 1, in <module> File "C:\Program Files (x86)\JetBrains\PyCharm Community Edition 4.5.4\helpers\pydev\pydev_import_hook.py", line 21, in do_import module = self._system_import(name, *args, **kwargs) ImportError: DLL load failed: The specified module could not be found.
cv2.cp35-win32.pyd plus many .dll files installed on C: \ Python35 \ Lib \ site-packages
I tried renaming cv2.cp35-win32.pyd to cv2.pyd and copy the .dll files to C: \ Python35 \ DLL,
I tried using another oprentv python package downloaded from the site, adding the bin directory to my PATH environment and moving the cv2.pyd file to C: \ Python35 \ Lib \ site packages
The same error appears every time. Any help would be appreciated!
python windows numpy windows-10 opencv
Luke Vincent Oct 18 '15 at 15:59 2015-10-18 15:59
source share