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

猜你喜欢

转载自www.cnblogs.com/hesujian/p/11490603.html
今日推荐