초보개발자 yum이 안됩니다. 어떻게 하죠?

piano39의 이미지

# 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.6.4 (r264:75706, Jan 5 2010, 22:59:32)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq

# cat /etc/redhat-release
CentOS release 5.3 (Final)

gt1000의 이미지

이게 centos 5.3은 파이선 2.4를 사용 할겁니다.
/usr/bin/python
에 링크가 걸려 있습니다.
아마 제 생각에는 파이썬 2.4 이상을 설치 하지 않았나 생각 합니다.
/usr/bin 가셔서

ln -s /usr/bin/python2.4 python

이런 식으로 파이썬을 지정해 주면 되지 않나 싶습니다.
다른 어떤 분이 파이썬 2.6으로 하던 팁도 있던데... 그건 잘 모르겠습니다.
yum 현재 버젼이 업데이트를 해도 파이썬 2.6과는 잘 안되서....
전 다른 OS를 깔았습니다.
제 방법이 틀렸을 수도 있습니다. 저는 그냥.. 혼자 추측으로 한것이라...

piano39의 이미지

# python
Python 2.6.4 (r264:75706, Jan 5 2010, 22:59:32)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>

piano39의 이미지

2.4로 깔면 되나요?
어떻게 2.4로 바꾸죠? ㅜㅡ