Condividi:        

python et yum

Per tutti i tuoi problemi Linux entra qui e risolvili!

Moderatori: Anthony47, gunter, zendune

python et yum

Postdi yorelchr » 15/12/11 17:11

Bonjour,


mon problème est le suivant:
j'avais 2 versions de python installées sur le PC, et pensant qu'elles entraient en conflit, j'ai tout supprimé pour réinstaller. Seulement voilà, maintenant je n'ai plus accès à la commande yum
J'ai bien sur réinstallé python gace aux commandes
./configure, make, make install
et je peux le lancer, l'installation est ok. Pourtnat dès que je veux utiliser yum ou un programme associé à python, j'ai le message suivant :

bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory

PS: bien sur je ne plus utiliser les programmes qui ont besoin de python meme si celui-ci est installé...programmes indispensables pour moi !!

que puis-je faire?
merci par avance pour votre aide

Christine
yorelchr
Utente Junior
 
Post: 37
Iscritto il: 18/10/11 15:05

Sponsor
 

Re: python et yum

Postdi valeriot90 » 17/12/11 12:00

Vérifiez Où est le dossier de python.
Après la réinstallation bien sûr, le répertoire est modifié, de sorte qu'il est / usr / bin / yum / usr / bin / python, mais ce sera une autre, vérifier.

"Mon français est terrible, alors j'ai utilisé Google translate"
valeriot90
Utente Senior
 
Post: 477
Iscritto il: 08/05/09 20:19
Località: localhost 127.0.0.1

Re: python et yum

Postdi yorelchr » 17/12/11 14:14

Ciao Valerio,

Suona italiano il tuo nome, si può usare questa lingua se preferisci ;-)
But since I'm not sure you're italian, it's maybe better going on with english.
But thank you very much to have written in french, it was understandable !

Since I've put this post, I've done a lot of other things, and made much more confusion again. but now it seems to be ok, My problem is solved I guess...I hope. There were conflicts between different Python versions, so I uninstalled everything but in a clean way this time, with the good command instead of manually (rpm -e ....). And I've reinstalled with rpm this time.
I hope it's ok for now.

Thank very much for your reply. Grazie mille...

Christine
yorelchr
Utente Junior
 
Post: 37
Iscritto il: 18/10/11 15:05


Torna a Software Linux


Topic correlati a "python et yum":

Da file python a deb
Autore: Rio84
Forum: Programmazione
Risposte: 2
Java Vs. Python
Autore: zwack
Forum: Programmazione
Risposte: 2

Chi c’è in linea

Visitano il forum: Nessuno e 10 ospiti