目录
libGL error: MESA-LOADER: failed to open swrast
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
没有正确配置OpenGL环境变量。
export LIBGL_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri/
libGL error: MESA-LOADER: failed to open swrast: /root/miniconda3/envs/lib/python3.10/site-packages/torch/lib/…/…/…/…/./libstdc++.so.6: version GLIBCXX_3.4.30’ not found (required by /usr/lib/x86_64-linux-gnu/libLLVM-15.so.1) (search paths /usr/lib/x86_64-linux-gnu/dri/, suffix _dri)
libGL error: