ImportError: libGL.so.1: cannot open shared object file: No such file or directory
这两个问题基本上都是cv2出现了问题
解决方法:先按照提示安装libgtk2.0-dev and pkg-config
然后RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6 -y
亲测有效,然后就可以正常运行程序了
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
这两个问题基本上都是cv2出现了问题
解决方法:先按照提示安装libgtk2.0-dev and pkg-config
然后RUN apt-get update
RUN apt-get install ffmpeg libsm6 libxext6 -y
亲测有效,然后就可以正常运行程序了