yum 설치 관련 질문입니다.
안녕하세요.
yum을 설치 했는데, no module named yum 이라고 나오면서 되지 않네요.
구글링으로 찾아본 몇가지를 해보았지만 똑같아요.
rpm 버전이 문제인것 같기도한데... 어느 rpm 버전이 잘못되었는지 확인을 할 수가 없네요.
도와주세요~
[root@bin]# /usr/bin/python -V
Python 2.2.3
[root@bin]# rpm -qf /usr/bin/python
python-2.2.3-6.1
[root@bin]# uname -a
Linux 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005 i686 i686 i386 GNU/Linux
[root@bin]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 3 (Taroon Update 5)
[root@bin]# rpm -qa | grep -i yum
yum-2.4.2-0.4.el4.rf
[root@bin]# rpm -qa | grep -i python
python-optik-1.4.1-2
python-urlgrabber-2.9.6-1.2.el4.rf
python-2.2.3-6.1
libxml2-python-2.5.10-7
rpm-python-4.2.3-21_nonptl
python-devel-2.2.3-6.1
python-elementtree-1.2.6-7.el4.rf
python-sqlite-0.5.0-1.2.el4.rf
[root@bin]# 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.2.3 (#1, Feb 2 2005, 12:20:51)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-49)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
댓글 달기