在服务器上搭建环境的时候遇到
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
开始各种百度
参考这个解决方案
https://stackoverflow.com/questions/63544251/import-cv2-in-sagemaker-studio-jupyter-notebook-throws-importerror-libgl-so-1
又遇到如下报错
继续百度
解决方案
https://blog.csdn.net/zkgoup/article/details/102941874
ps:
发现其实可以直接
apt update
apt install libgl1-mesa-glx