LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   yum problem (https://www.linuxquestions.org/questions/linux-software-2/yum-problem-4175617461/)

bouguessa.brahim 11-12-2017 06:32 AM

yum problem
 
Hi,
please exuse my bad English.
I have a server that use the centos 7 as system
and after several updating, I have the problem in yum that tels :
Quote:

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
but after googling in the web the error now is :
Quote:

/usr/bin/yum : /usr/bin/python : mauvais interpréteur: Aucun fichier ou dossier de ce type
i have 2 version of python installed :
[root@www bin]#find / -type f -executable -name 'python2*'
/usr/local/bin/python2.4
/usr/local/bin/python2.7
/usr/local/bin/python2.7-config


if any one can help me, I'll be gracefull

frankbell 11-12-2017 09:39 PM

Might this help? http://linuxsay.com/t/no-module-named-yum-centos-7/3137

bouguessa.brahim 11-14-2017 03:21 AM

Thank's for your encouragement,
but i found a solution for the second problem ( mauvais interpréteur : aucun fichier ....)
it's in this page https://www.developpez.net/forums/d1...s-red-hat-yum/
but the first problem still persist !!!!


All times are GMT -5. The time now is 04:53 PM.