LINUX.ORG.RU

Centos no module named yum

 , ,


0

1

Возникла ошибка [root@poyuzd ~]# 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.7.13 (default, Mar 9 2017, 16:42:34) [GCC 4.8.5 20150623 (Red Hat 4.8.5-11)]

If you cannot solve this problem yourself, please go to the yum faq at: http://yum.baseurl.org/wiki/Faq Хотя yum установлен: [root@poyuzd ~]# which yum /usr/bin/yum Питон тоже ls -l /usr/bin/python lrwxrwxrwx. 1 root root 9 Mar 9 16:56 /usr/bin/python -> python2.7 [root@poyuzd ~]# which python /usr/bin/python [root@poyuzd ~]# cat `which yum` | head -1 #!/usr/bin/python Подскажите пожалуйста как можно исправить данную ошибку.



Последнее исправление: cetjs2 (всего исправлений: 2)

Переставить Debian последний и обновить его до testing.

menangen ★★★★★
()

В первых ссылках в гугле есть решение

das_tier ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.