From: aa8vb at vislab.epa.gov (Randall Hopper)
Date: Tue, 27 Apr 1999 07:47:49 -0400
Subject: Problem while Installing..
In-Reply-To: <3720DF98.8CEC8D8F@aachen.heimat.de>; from Christian Scholz on Fri, Apr 23, 1999 at 09:01:13PM +0000
References: <3720DF98.8CEC8D8F@aachen.heimat.de>
Message-ID: <19990427074749.B579158@vislab.epa.gov>
Content-Length: 1121
X-UID: 849                                                  

Christian Scholz:
 |Hi everybody!
 |
 |I have a strange problem right now:
 |
 |'import exceptions' failed; use -v for traceback
 |Warning!  Falling back to string-based exceptions
 |Fatal Python error: Cannot create string-based exceptions
 |IOT trap/Abort
 |
 |This I get when I try to install a new compiled Python 1.5.2 on my Linux
 |Box.  It was working before and did this after I told configure to use
 |threads..  This message appears when the installation process wants to
 |start compiling the modules (compileall.py).  I tried importing it then
 |by hand with my installed python which worked (The actual python
 |interpreter is installed before the compile process, right?) and I then
 |changed the Makefile to use the installed python which worked.  But now
 |when I want to use Python it says the same.
 |
 |Any idea what happens?

Yeah, been there done that :-) 

This may not be your problem, but see if $PYTHONPATH is set.  If so, unset
it until you finish building and installing python.  It confuses the build
(it overrides the configured system search path, so python can't find
itself).

Randall





