最近有需求在linux下开发 在安装opencv的时候遇到了一些坑 不能直接用pip install opencv-python安装,这样安装的话,虽然能用但是在pycharm中就没了提示了可以将其卸载之后用sudo apt-get install python3-opencv来安装。