"Joal Heagney" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> 'import site' failed; traceback:
> Traceback (most recent call last):
>   File "/usr/lib/python2.3/site.py", line 169, in ?
>     sys.lib,
> AttributeError: 'module' object has no attribute 'lib'

Right: the sys module usually has no .lib attribute that I know of

>>> import sys; sys.lib
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'lib'

> Is this a Mandrake or a Python mistake?

It is a site.py code mistake, but who wrote your copy of site.py?

> And does anyone know how to fix it?

Correct or remove the offending line (169)

Terry J. Reedy



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to