一、问题出现:执行 pip3 install libvirt-python失败,如下: 二、解决方案:执行 yum install libvirt* 三、重新执行:pip3 install libvirt-python 解决啦: