Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Issues installing OpenCV-Python prebuilts for Windows 10

Hello, I'm trying to install the OpenCV-Python prebuilts. I'm using the latest Visual Studio Code for Windows 10, and following these instructions.

The instructions say: * 5. Goto opencv/build/python/2.7 folder. * 6. Copy cv2.pyd to C:/Python27/lib/site-packages.

Since I'm using Python 3.8, I copied cv2.cp38-win_amd64.pyd from "C:\Program Files\Opencv\build\python\cv2\python-3.8\" to "C:\Program Files\Python\Python38\Lib\site-packages".

When I open a Python terminal and run "import cv2", I get an "ImportError: DLL load failed while importing cv2: The specified module could not be found."

Any suggestions? Thanks!