centos引入cv2报错No such file or directory

By Heanny
2020-05-12
2801 read

错误代码

ImportError: libXext.so.6: cannot open shared object file: No such file or directory


可通过安装qt4解决

ubuntu
apt install python-qt4
#centos:
yum -y install python-qt4



其他错误

ImportError:libcblas.so.3:

fgjre8aw9ijfewajfioewjfoewa.png

ImportError:libjasper.so.1:

TIMjt20200520100538.png

ImportError:libjasper.so.1:

TIMjt20200520095607.png

ImportError: libSM.so.6: cannot open shared object file: No such file or directory
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
ImportError: libXext.so.6: cannot open shared object file: No such file or directory

安装对应的软件包解决:

apt-get install libsm6
apt-get install libxrender1
apt-get install libxext-dev


【直播】nginx搭建rtmp流直播环境
linux下python程序KILLED记录

Comments

暂无评论,还不快来坐沙发...

Leave a Reply