解决yum升级的问题“There was a problem importing one of the Python modules”
2014-05-30 09:16
531 查看
yum命令升级的时候,报出这个错误。
解决方法:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum 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, Sep 3 2013, 23:16:48) [GCC 4.6.3 20120306 (Red Hat 4.6.3-2)]
解决方法:
sudo vim /usr/bin/yum #修个python所在的路径,例如 #/usr/local/bin/python2.6
相关文章推荐
- 解决yum升级的问题“There was a problem importing one of the Python modules”
- 解决yum升级的问题“There was a problem importing one of the Python modules”
- yum 运行时提示There was a problem importing one of the Python modules required to run yum. The error lead
- 32位centos运行yum报错:There was a problem importing one of the Python modules
- There was a problem importing one of the Python modules required to run yum
- 解决VS2012 Express的There was a problem sending the command to the program问题
- 解决VS2012 Express的There was a problem sending the command to the program问题
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- Error:A problem was found with the configuration of task ':app:packageDebug' 问题解决
- 解决VS2012 Express的"There was a problem sending the command to the program"问题
- Hbase运行时出现的问题(There could be a mismatch with the one configured in the master.)及其解决方法:
- 【转载】Python Version 2.7 required which was not found in the registry 问题解决
- Python Version 2.7 required which was not found in the registry 问题解决
- The codesign tool requires there only be one.问题解决办法
- Excel 2010出现there was a problem sending the command to the program解决
- 解决Win10安装PyWin32问题Python Version 3.4 required which was not found in the registry
- 解决Eclipse插件升级中Cannot complete the install because of a conflicting dependency的问题
- 将Python进行升级,已经解决yum不可用的问题
- 让人哭笑不得的“Unable to load one or more of the types in the assembly”问题的解决!