So many questions are already about this topic, but I did not find a satisfactory answer about the traditional "DLL not found" problem.
- I am using Python 3.5 installed through Anaconda 3;
- I installed โofficialโ opencv_python-3.2.0.6-cp34-cp34m-win_amd64.whl with pip (right here https://pypi.python.org/pypi/opencv-python );
- Windows version - 7 - 64 bit;
- I uninstalled all the distributed VC ++ that were on my computer and reinstalled its 2015 version, so my laptop has the well-known and also the mandatory msvcp140.dll DLL;
- cv2 module is present in the lib / site-packages directory;
- it contains, among other things, the file 'cv2.cp35-win_amd64.pyd'.
Meanwhile, I still cannot access cv2:
>>> import cv2 Traceback (most recent call last): File "<pyshell#2>", line 1, in <module> import cv2 File "C:\Program Files\Anaconda3\lib\site-packages\cv2\__init__.py", line 7, in <module> from . import cv2 ImportError: DLL load failed: The specified module could not be found.
Changing the name .pyd โ cv2.pyd does not solve the problem, as well as installing via pip an unofficial but different version of the wheels from Gohlke ( http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv )
Any idea what is going on?
Schmouk Jan 25 '17 at 10:37 2017-01-25 10:37
source share