导入cv2时,出现问题:ImportError:libXrender.so.1:cannot open shared object file: No such file or directory
·
导入cv2时,出现如下问题:
ImportError: libXrender.so.1: cannot open shared object file: No such file or directory
查询了很多办法都解决不了,最后查询到一个办法通过安装qt-4解决。
#ubuntu:
apt install python-qt4
#centos:
yum -y install python-qt4
来源:https://www.heanny.cn/post-482.html
更多推荐
所有评论(0)