Hi,

I found this on the forum for you since you cant get there. Its how to manually re-install python.

# 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


This guy had a simular problem and he said this fixed it.

fede files # emerge rsync
Traceback (most recent call last):
File "/usr/bin/emerge", line 6, in ?
import os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback


 File "/usr/lib/python2.2/threading.py", line 5, in ?
   import thread
*ImportError*: No module named thread


Andy Smith wrote:


On Tue, Sep 16, 2003 at 11:22:11PM -0500, David H. Askew wrote:


I've never done this, but take a look at :

/usr/portage/sys-apps/portage/files/README.RESCUE



Thanks for the suggestion. I tried this and afterwards I still get:

Traceback (most recent call last):
 File "/usr/bin/emerge", line 6, in ?
   import 
os,sys,portage,emergehelp,xpak,string,re,commands,time,threading,shutil,traceback
 File "/usr/lib/python2.2/site-packages/portage.py", line 10, in ?
   from select import *
ImportError: No module named select

on any invocation of emerge. This is the same as before. :(




--
[EMAIL PROTECTED] mailing list



Reply via email to