[問題] yum不能執行

看板Linux作者 (Maktub)時間15年前 (2010/09/28 14:36), 編輯推噓1(102)
留言3則, 3人參與, 最新討論串1/1
我打上指令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.5 (r265:79063, Jun 30 2010, 15:40:15) [GCC 4.1.2 20080704 (Red Hat 4.1.2-46)] If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq 不是很清楚發生了什麼問題,有人知道怎麼解決嗎? 謝謝! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.109.32.11

09/28 17:53, , 1F
你在哪個 distro 用 yum? 把問題說清楚一點
09/28 17:53, 1F

09/28 19:43, , 2F
就是叫你要裝python啦...
09/28 19:43, 2F

09/28 21:53, , 3F
很明顯的,他有python 2.6.5
09/28 21:53, 3F
文章代碼(AID): #1CeOpNm5 (Linux)