> On Mon, Mar 24, 2003 at 08:35:13PM -0500, [EMAIL PROTECTED] wrote: > | What do these messages mean...?? > | > | Setting up python-gtk (0.6.11-7) ... > | 'import site' failed; use -v for traceback > | 'import site' failed; use -v for traceback > > When the python interpreter starts up it imports the "site" module > (/usr/lib/pythonX.Y/site.py) to load any site-specific customizations. > Apparently there's a problem with your site.py. As the message says, > use the -v flag to get a traceback which will give details. Run > python -v > and post the output here.
# /usr/lib/python2.2/site.pyc matches /usr/lib/python2.2/site.py import site # precompiled from /usr/lib/python2.2/site.pyc # /usr/lib/python2.2/os.pyc matches /usr/lib/python2.2/os.py import os # precompiled from /usr/lib/python2.2/os.pyc import posix # builtin # /usr/lib/python2.2/posixpath.pyc matches /usr/lib/python2.2/posixpath.py import posixpath # precompiled from /usr/lib/python2.2/posixpath.pyc # /usr/lib/python2.2/stat.pyc matches /usr/lib/python2.2/stat.py import stat # precompiled from /usr/lib/python2.2/stat.pyc # /usr/lib/python2.2/UserDict.pyc matches /usr/lib/python2.2/UserDict.py import UserDict # precompiled from /usr/lib/python2.2/UserDict.pyc # /usr/lib/python2.2/copy_reg.pyc matches /usr/lib/python2.2/copy_reg.py import copy_reg # precompiled from /usr/lib/python2.2/copy_reg.pyc # /usr/lib/python2.2/types.pyc matches /usr/lib/python2.2/types.py import types # precompiled from /usr/lib/python2.2/types.pyc # /usr/lib/python2.2/__future__.pyc matches /usr/lib/python2.2/__future__.py import __future__ # precompiled from /usr/lib/python2.2/__future__.pyc Python 2.2.2 (#1, Mar 21 2003, 23:01:54) [GCC 3.2.3 20030316 (Debian prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. dlopen("/usr/lib/python2.2/lib-dynload/readline.so", 2); import readline # dynamically loaded from /usr/lib/python2.2/lib-dynload/readline.so >>> *************** I typed <ctrl> D *************** rest of output # clear __builtin__._ # clear sys.path # clear sys.argv # clear sys.ps1 # clear sys.ps2 # clear sys.exitfunc # clear sys.exc_type # clear sys.exc_value # clear sys.exc_traceback # clear sys.last_type # clear sys.last_value # clear sys.last_traceback # restore sys.stdin # restore sys.stdout # restore sys.stderr # cleanup __main__ # cleanup[1] __future__ # cleanup[1] site # cleanup[1] repr # cleanup[1] readline # cleanup[1] sre # cleanup[1] strop # cleanup[1] signal # cleanup[1] sre_constants # cleanup[1] pydoc # cleanup[1] token # cleanup[1] posix # cleanup[1] exceptions # cleanup[1] sre_parse # cleanup[1] sre_compile # cleanup[1] inspect # cleanup[1] imp # cleanup[1] _sre # cleanup[1] dis # cleanup[1] tokenize # cleanup[1] types # cleanup[1] string # cleanup[1] re # cleanup[2] stat # cleanup[2] copy_reg # cleanup[2] UserDict # cleanup[2] posixpath # cleanup[2] os.path # cleanup[2] os # cleanup sys # cleanup __builtin__ # cleanup ints: 4 unfreed ints in 1 out of 6 blocks # cleanup floats [EMAIL PROTECTED]:~$ > -D > > -- > Micros~1 : > For when quality, reliability > and security just aren't > that important! > > http://dman.ddts.net/~dman/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]