No module named cElementTree

xiaoshaA 2008-08-05 04:20:50
各位大虾,虾米初学linux,请问下面是什么问题,我是在ubuntu8.04上面运行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 cElementTree

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.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.
...全文
492 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
by81355 2011-05-08
  • 打赏
  • 举报
回复
http://free.yes81.net/yes81/view-11292.html
http://free.yes81.net/yes81/view-11306.html
参考上面2个贴,肯定可以解决
yuhang184602006 2008-11-04
  • 打赏
  • 举报
回复
路过。。。。。
midgard 2008-09-13
  • 打赏
  • 举报
回复
我估计你是想编译什么文件没通过吧,然后想升级。
我猜是/lib/cpp找不到, 你需要装跟gcc相对应版本的g++,也就是装g++4.2就行了。

19,620

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧