2017-02-28 103 views
0

我已经通过pip安装opencv pip install opencv-python并且它已成功安装,但是当我尝试导入它时,显示为The specific module could not be foundenter image description hereOpencv通过pip安装,但无法在cmd中导入

这是OpenCV的的初始化的.py代码

import sys import os #FFMPEG dll is not found on Windows without this os.environ["PATH"] += os.pathsep + os.path.dirname(os.path.realpath(file)) from . import cv2 sys.modules['cv2'] = cv2

回答

0

我跟了这blog和它的工作对我来说