在安装pip install opencv-contrib-python报错。 解决办法: 直接在安装语句后面加--user即可,即: pip install opencv-contrib-python --user