[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mailman 2.0.8-2: "'import site' failed"



On Fri, Jan 18, 2002 at 03:30:29PM +0100, martin f krafft wrote:
| have you seen these per chance? what gives? i didn't change nothing...
| 
| ----- Forwarded message from Cron Daemon <root@madduck.net> -----
| 
| Subject: Cron <list@seamus> [ -x /usr/bin/python -a -f /usr/lib/mailman/cr
|     on/qrunner ] && /usr/bin/python /usr/lib/mailman/cron/qrunner
| 
| 'import site' failed; use -v for traceback
| 
| ----- End forwarded message -----

This is not a mailman problem.  Run

$ python
Python 2.1.1+ (#1, Jan  8 2002, 00:37:12)
[GCC 2.95.4 20011006 (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import site

and you'll see the error.  (actually, you might see the error before
you get a prompt)

Python allows an admin to make site-specific customizations to the
environment in /usr/lib/pythonX.Y/site.py (above X.Y is 2.1).  This is
file is part of the python package; you should make you customizations
in /usr/lib/pythonX.Y/sitecustomize.py (this is loaded by site.py).

Run python interactively and post the error you get and the portion of
code that is causing the error.

-D

-- 

In my Father's house are many rooms; if it were not so, I would have
told you.  I am going there to prepare a place for you.  And if I go and
prepare a place for you, I will come and take you to be with me that you
also may be where I am.
        John 14:2-3 



Reply to: