我已经通过pip install opencv-python
点击安装opencv并且已成功安装,但是当我尝试导入时,显示为The specific module could not be found
。
这是opencv的 init .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