*sighs*
Still not able to find a version of Mandrake Python which won't give me
this problem, so I just went into site.py and edited it.
Replace all occurances of sys.lib to "lib" and site.py loads up.
Incidently it fixed all the other import issues that I'd been having
with Python.
Strange th
"Joal Heagney" wrote:
> Hi everyone. I've been getting this error message in python, and it's
> really driving me up the wall.
>
>
> [EMAIL PROTECTED] joal]$ python
> 'import site' failed; use -v for traceback
> Python 2.3.4 (#1, Apr 18 2005, 19:03:06)
> [GCC 3.4.1] on linux2
> Type "help", "co
[EMAIL PROTECTED] wrote:
> Hi Joal,
> I can only tell you that in my Linux Mandrake 10.1 (Community Edition),
> all is ok:
> Python 2.3.4 (#2, Aug 19 2004, 15:49:40)
> [GCC 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
"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 u
Hi Joal,
I can only tell you that in my Linux Mandrake 10.1 (Community Edition),
all is ok:
Python 2.3.4 (#2, Aug 19 2004, 15:49:40)
[GCC 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import site
>>> dir (site)
['_Helpe
Hi everyone. I've been getting this error message in python, and it's
really driving me up the wall.
[EMAIL PROTECTED] joal]$ python
'import site' failed; use -v for traceback
Python 2.3.4 (#1, Apr 18 2005, 19:03:06)
[GCC 3.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more