找到“File”–>“Settings”,双击打开
找到“Project‘,打开找到”Python Interpreter“
下拉”Python Interpreter“找到”Show All…“
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/b50fc225f80c450f89669dfc595eb743.png
点击”+“行最后一个图标
点击”+“,将Python目录下的Lib\site-packages\cv2添加即可
找到“File”–>“Settings”,双击打开
找到“Project‘,打开找到”Python Interpreter“
下拉”Python Interpreter“找到”Show All…“
![在这里插入图片描述](https://img-blog.csdnimg.cn/direct/b50fc225f80c450f89669dfc595eb743.png
点击”+“行最后一个图标
点击”+“,将Python目录下的Lib\site-packages\cv2添加即可