背景:我在import cv2时遇到该问题。 解决方法:重装numpy,原版本有兼容问题,我的版本是1.19.4 1、pip uninstall numpy 2、pip install numpy==1.16.4