No module named 'cv2'
时间: 2023-09-04 19:15:16 浏览: 100
no moudel named cv2
The error message "No module named 'cv2'" indicates that your Python environment is missing the OpenCV library. You need to install OpenCV using pip (Python package manager) by running the following command in your terminal or command prompt:
```
pip install opencv-python
```
After the installation, you can try importing cv2 again and it should work.
阅读全文