查看opencv版本 sudo apt search opencv
sudo apt install libopencv-dev
安装pip3 sudo apt install python3-pip
分别给python2和python3的环境安装opencv sudo pip install opencv-python sudo pip3 install opencv-python
安装验证