OpenCV w/CUDA build seems successful, but "import cv2" fails

it is probably looking for the dependant opencv dlls (opencv_core opencv_imgproc, etc)

for now, put the bin folder containing those on the environment PATH, or, better, rebuild with

cmake ... -DBUILD_SHARED_LIBS=OFF ...

so the cv2.pyd does no more depend on those

1 Like