On 05/02/2011 06:05:08 PM, Davide Carnovale wrote: > @alan, no error are printed, where and what should i look for in the > logs? > > @helmut python just returns to the console, without error or effect > of > any > sort, does it means python has get unmerged and that's why emerge > doesn't > work anymore? >
You have got many hints from others. To consider the problem from all sides you my try ldd /usr/bin/python2.6 ldd /usr/bin/python2.7 and see if all dynamic libraries could be loaded. And if that fails, here a hint from an earlier thread Recovering Gentoo from a broken python This may be a life saver. I noticed that I have two version of python installed on my Gentoo box. So I thought I'd try uninstalling the old one. This actually uninstalls the latest version libraries leaving me with a warning such as "ImportError: no such module time". This is bad as you cannot use emerge at all not even to emerge python to fix things. To fix, as root: cd /root wget http://distfiles.gentoo.org/distfiles/Python-2.7.1.tar.bz2 tar jxvf Python-2.7.1.tar.bz2 cd Python-2.7.1 ./configure make ./python emerge python cd /root rm -rf Python-2.7.1* You are now fixed. Or replace 2.7.1 by 2.6.6 if your system has been running under Python 2.6 before the problem arose. Helmut.