关于Ubuntu 7.10中 Python版本过期的问题

编译打包和其他
回复
jhx0301
帖子: 27
注册时间: 2007-11-16 15:52
来自: 杭州
联系:

关于Ubuntu 7.10中 Python版本过期的问题

#1

帖子 jhx0301 » 2007-11-16 16:15

1.我先安装yum
root@jhx-ubuntu:/lib# apt-get install yum
2.然后安装libstdc++.so.5
root@jhx-ubuntu:~# yum install libstdc++.so.5
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.1 (r251:54863, Oct 5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.

结果提示说Python版本不匹配,有的网友说需要安装python-elementtree-1.2.6-5.i386.rpm
但是我怎么也找不到这个安装包  希望高手指点迷津
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

#2

帖子 bones7456 » 2007-11-16 16:17

有创意,在ubuntu里面用yum...那不是真"晕"了吗
关注我的blog: ε==3
回复