python在linux中import cv2问题

python中import cv2遇到的错误及安装方法标签

1 错误:

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

安装

yum install libXext.x86_64

2 错误 
ImportError: libSM.so.6: cannot open shared object file: No such file or directory 
安装:

yum install libSM.x86_64

3 错误 
libXrender.so.1: cannot open shared object file: No such file or directory 
安装:

yum install libXrender.x86_64
posted @ 2019-09-09 11:18  hesujian  阅读(2145)  评论(0编辑  收藏  举报