readthefuckingmanual.net

[SOLVED] /usr/bin/emerge: /usr/bin/python: bad interpreter: No such file or directory

Error added: 2006-11-27T15:42:22Z

2 people waiting for the answer...

3 answers found.

Answer 1065 (0.0% helpful)

i\'m not sure about this, but maybe re-extract the portage tarball/gentoo snapshot in the root directory?
Permalink

Answer 1066 (0.0% helpful)

have a look at http://forums.gentoo.org/viewtopic-t-5746-highlight-python+unmerge.html and http://www.linuxquestions.org/questions/linux-newbie-8/re-installing-python-from-gentoo-livecd-after-unmerge-584199/ the important part is, i believe:

Code:
# cd
# tar xzf /usr/portage/distfiles/Python-2.2.1.tgz
# cd Python-2.2.1
# ./configure --with-fpectl --infodir=/usr/share/info/ --mandir=/usr/share/man
# make
# make install prefix=/usr
# rm /usr/bin/python 2>/dev/null
# ln -s /usr/bin/python2 /usr/bin/python
Permalink

Answer 1067 (0.0% helpful)

you might have to change the version number for python.
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: