VSCode报错:Module 'cv2' has no 'imshow' member 问题描述: 原因: 代码是没问题的,可直接运行。 主要原因是因为vscode的插件模块检测不到模块,在于cv2模块下还有cv2模块。 解决: 1 from cv2 import cv2 as cv2