在服务器中的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
【Opencv|服务器libGL.so.1: cannot open shared object file: No such file or directory问题解决】参考以下链接,感谢。
https://blog.csdn.net/ChuiGeDaQiQiu/article/details/80867743
推荐阅读
- 人脸识别|【人脸识别系列】| 实现自动化妆
- OpenCV|OpenCV-Python实战(18)——深度学习简介与入门示例
- opencv|图像处理之椒盐噪声的添加与去除
- 人脸识别|【人脸识别系列】| 实现人脸截图保存并编写128维特征向量
- opencv|网络爬虫入门练习
- OpenCV|【OpenCV 完整例程】89. 带阻滤波器的传递函数
- OpenCV|【OpenCV 完整例程】90. 频率域陷波滤波器
- OpenCV|【OpenCV 完整例程】22. 图像添加非中文文字
- OpenCV|【OpenCV 完整例程】91. 高斯噪声、瑞利噪声、爱尔兰噪声
- opencv|python+opencv车道线,实线虚线的检测