“DLL load failed” when import cv2 (opencv)

前端 未结 15 1093
萌比男神i
萌比男神i 2020-12-14 08:45

In [windows server 2012 R2 x64, python 3.7 64x]

pip install opencv-contrib-python

installed without any error .
and when I try to impor

15条回答
  •  太阳男子
    2020-12-14 09:06

    I have faced the similar issue in Windows Server 2012 r2. After lot of findings I found that mfplat.dll was missing which is related to Window Media Service.

    Hence you have to manually install the features so that you can get dll related to window media service.

    1. Turn windows features on or off
    2. Skip the roles screen and directly go to Feature screen
    3. Select "Desktop Experience" under "User Interfaces and Infrastructure"

    After this all required dll of opencv would be available.

提交回复
热议问题