Chinaunix
标题:
Centos6.8 使用yum和rpm命令,报错:error: Failed to initialize NSS library
[打印本页]
作者:
申缘
时间:
2017-01-18 10:19
标题:
Centos6.8 使用yum和rpm命令,报错:error: Failed to initialize NSS library
各位网友大家好,使用yum命令和rpm命令时出现了如下错误:
[root@localhost etc]# yum
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, Nov 6 2016, 00:28:07)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq
[root@localhost etc]#
复制代码
重新安装了yum软件也是不得行,请教一下大家,该怎么修复呢,谢谢!!
作者:
yyu0378
时间:
2017-01-18 18:18
你NSS的库有问题
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2