エラー:libvirtパッケージをインストールした後、RHEL 7.3でNSSライブラリを初期化できません。

エラー:libvirtパッケージをインストールした後、RHEL 7.3でNSSライブラリを初期化できません。

RHEL 7.3 KVMホストにlibvirtとlibguestfs-toolsをインストールしたいと思います。しかし、次のような問題に直面しています。

[root@localhost ~]# yum install -y libvirt
error: Failed to initialize NSS library
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   cannot import name ts

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.7.5 (default, Aug  2 2016, 04:20:16)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://yum.baseurl.org/wiki/Faq

私のPythonバージョンは2.7.5です。

ベストアンサー1

おすすめ記事