ImportError: libGL.so.1: cannot open shared object file: No such file or directory #3435
Closed
3 tasks done
Labels
bug
Something isn't working
问题确认 Search before asking
Bug描述 Describe the Bug
在运行如下代码时:
!export CUDA_VISIBLE_DEVICES=0 # 设置1张可用的卡
!python PaddleSeg/tools/train.py
--config PaddleSeg/configs/ocrnet/ocrnet_hrnetw48_cityscapes_1024x512_160k.yml
--do_eval
--use_vdl
--save_interval 100
--save_dir PaddleSeg/output
报错如下:
Traceback (most recent call last):
File "PaddleSeg/tools/train.py", line 20, in
import cv2
File "/opt/conda/lib/python3.8/site-packages/cv2/init.py", line 8, in
from .cv2 import *
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
安装过程中没有问题,重装了好几遍,在运行训练时候出现如下报错,求解答~
系统为:linux version 3.10.0-1160.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Mon Oct 19 16:18:59 UTC 2020;paddle版本2.5;cuda版本11.4
复现环境 Environment
paddle版本2.5;cuda版本11.4;cuDNN 8.2
Bug描述确认 Bug description confirmation
是否愿意提交PR? Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: