import cv2错误: ImportError: libXrender.so.1: cannot open shared object file: No such file or directory

环境: centos,python3.6
错误: import cv2 出错
已安装: pip install opencv-python==3.4.3.18

解决参考: https://www.centos.org/forums/viewtopic.php?t=49456

yum install libXrender.x86_64