ImportError: libGL.so.1: cannot open shared object file: No such file or directory 文章目录 一. opencv报错 1.1. 解决办法1 1.2. 解决办法2 二. Dockerfile文件(ubuntu18.04&miniconda_py37) 一. opencv报错 容器报错内执行python程序报错ImportError: libGL.so.1: cannot open shared object file: No such file or dir 1.1. 解决办法1 参考: