When I passed on win7 (python3)
pip install opencv-python
pip install opecncv-contrib-python
Can be correct import CV2
But when I installed opencv on window server 2008 R2 enterprise, this was the following error:
In [2]: import cv2
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-2-c8ec22b3e787> in <module>()
----> 1 import cv2
c:\python36\lib\site-packages\cv2\__init__.py in <module>()
1 import importlib
2
----> 3 from .cv2 import *
4 from .data import *
5
ImportError: DLL load failed: The specified module could not be found.
I tried installing C++
Redistributable Package (all versions) and downloading WHL files still can't solve the error.
C:\Users\Administrator\Desktop>ipython
Python 3.6.5 (v3.6.5:f59c0932b4, Mar 28 2018, 17:00:18) [MSC v.1900 64 bit (AMD6
4)]
Type 'copyright', 'credits' or 'license' for more information
IPython 6.5.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import cv2
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-1-c8ec22b3e787> in <module>()
----> 1 import cv2
ImportError: DLL load failed: The specified module could not be found.
My guess is definitely a system problem, but I checked the data and found that the prototype of the server 2008 R2 system is Win7, and I've installed what I can hold, and still can't solve the problem.
So I wanted to know what the real reason for this mistake was, and if I could figure it out and fix it.
So what should I do to ask for help