导入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

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐