重新在Linux系统配置yolov8环境,训练模型时报错:ImportError: libGL.so.1: cannot open shared object file: No such file or directory。解决办法如下:
pip install opencv-python-headless -i https://pypi.tuna.tsinghua.edu.cn/simple
如果安装失败,更换国内源。
重新在Linux系统配置yolov8环境,训练模型时报错:ImportError: libGL.so.1: cannot open shared object file: No such file or directory。解决办法如下:
pip install opencv-python-headless -i https://pypi.tuna.tsinghua.edu.cn/simple
如果安装失败,更换国内源。