栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

ImportError: libGL.so.1: cannot open shared object file: No such file or directory

原因

本地缺少opencv运行时所需要的C++环境

1 yum命令安装
yum install mesa-libGL.x86_64
2 如果是内网需要本地安装,则下载所需依赖如下百度网盘连接

链接:https://pan.baidu.com/s/1DSfu93hfsne8qaqZ722Zow 提取码:xyd6

libX11.so.6()(64bit) 被 libXdamage-1.1.4-4.1.el7.x86_64 需要
libXfixes.so.3()(64bit) 被 libXdamage-1.1.4-4.1.el7.x86_64 需要

#类似的报错则安装
rpm libX11-1.6.7-2.el7.x86_64.rpm
rpm libXfixes-5.0.3-1.el7.x86_64.rpm

#相互依赖的只有两个包,需要在其他依赖安装完成以后再安装
#强制安装命令
rpm -ivh 安装包1.rpm  安装包2.rpm    				
rpm -ivh mesa-libGL-18.3.4-12.el7_9.x86_64.rpm libglvnd-glx-1.0.1-0.8.git5baa1e5.el7.x86_64.rpm
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/941513.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号