I am tryin to do a project that requires cv2 module. I downloaded the library through windows command prompt. pip install cv2module
it installed successfully. but, when i try to import it on pycharm or python IDLE it throws an error like ImportError: DLL load failed while importing cv2: The specified module could not be found.
Asked
Active
Viewed 6,289 times
0

MarkHenri
- 47
- 1
- 4
-
2Duplicate of https://stackoverflow.com/questions/43184887/dll-load-failed-error-when-importing-cv2 – SpiderPig1297 Oct 04 '20 at 09:53
2 Answers
0
I was facing missing DLL issue.
- I deleted cv2 and openCV folder from the Python\Python38\Lib\site-packages\ folder in my system. 2.Installed Media feature pack on windows 10 from Optional features settings. 3.Then ran pip install opencv-python again.
- Rebooted my system and import cv2 worked like a charm.