lundi 31 août 2015

python version confliction while accesing yum command

My amazon aws system has two python, 2.6 and 2.7

Default python which I say which python is : Python 2.7.9

I also set symbolic link using

sudo ln -s /usr/bin/python2.7 /usr/bin/python

When I do

yum
bash: /usr/bin/yum: /usr/bin/python2.62.7: bad interpreter: No such file or directory

also

echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin

I guess python 2.6 and 2.7 linked togather?

is there any way to get rid of this issue?




Aucun commentaire:

Enregistrer un commentaire