导入cv2 dll加载失败:找不到指定的模块

时间:2019-06-03 15:48:50

标签: python opencv

我在anaconda2中创建python 3.7环境,并通过opencv安装conda install -c conda-forge opencv,这将安装opencv4.1.0。在命令行中,输入import cv2,结果为ImportError:DLL load failed: The specified module could not be found

1 个答案:

答案 0 :(得分:0)

使用pip命令可解决以下问题:pip install opencv-contrib-python