在服务器中的dask容器内通过conda 安装OpenCV 后在import cv2 时候报错libGL.so.1: cannot open shared object file: No such file or directory,作为一个不会lunix操作系统的菜鸟,各种百度,各种尝试,最后终于解决,在此mask一下,我的服务器用的是fedora 镜像,最后通过以下办法解决:

(1)sudo dnf update

(2)dnf install mesa-libGL.x86_64

参考以下链接,感谢。

https://blog.csdn.net/ChuiGeDaQiQiu/article/details/80867743 

Logo

云原生社区为您提供最前沿的新闻资讯和知识内容

更多推荐