Python运行YOLO和SSD相关文件时报错

提示ModuleNotFoundError: No module named 'cv2'

解决方法:
安装opencv-python。

1
pip install opencv-python
提示 **On entry错误
1
2
3
4
5
6
7
 ** On entry to DGEBAL parameter number  3 had an illegal value
** On entry to DGEHRD parameter number 2 had an illegal value
** On entry to DORGHR DORGQR parameter number 2 had an illegal value
** On entry to DHSEQR parameter number 4 had an illegal value
Traceback (most recent call last):

ImportError: numpy.core.multiarray failed to import

解决方法:
numpy的1.19.4版本会报这个错误,卸载numpy之后安装1.19.3版本。

1
2
pip uninstall numpy
pip install numpy==1.19.3

评论