项目导入的cv2,其实完整的包名为opencv-python。当没有安装时,项目运行会报错:oduleNotFoundError: No module named 'cv2'。
How to solve:
在线安装
pip install opencv-python
pip install opencv-contrib-python
- ModuleNotFoundError 办法 module named cv2modulenotfounderror办法module named modulenotfounderror module named 39 modulenotfounderror watchdog module named modulenotfounderror module kornia named module问题named cv2 modulenotfounderror packaging module named modulenotfounderror module pandas named modulenotfounderror module infer named modulenotfounderror module named torch modulenotfounderror module lanms named