[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. > >>>>import site >>>>dir (site) > > ['_Helper', '_Printer', '__builtin__', '__builtins__', '__doc__', > '__file__', '__name__', '_dirs_in_sys_path', '_init_pathinfo', '_test', > 'addpackage', 'addsitedir', 'encoding', 'here', 'makepath', 'os', > 'prefixes', 'sitedirs', 'sys'] > > This can't exclude that the error is in Mandrake's site (if you have > the Official Edition), but I can't help you further because I am not > an expert. > Bye. >
Likewise, 10.1 official (powerpack) is OK: [EMAIL PROTECTED] steve]$ cat /proc/version Linux version 2.6.8.1-12mdk ([EMAIL PROTECTED]) (gcc version 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk)) #1 Fri Oct 1 12:53:41 CEST 2004 [EMAIL PROTECTED] steve]$ python 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 sys >>> dir(sys) ['__displayhook__', '__doc__', '__excepthook__', '__name__', '__stderr__', '__stdin__', '__stdout__', '_getframe', 'api_version', 'arch', 'argv', 'builtin_module_names', 'byteorder', 'call_tracing', 'callstats', 'copyright', 'displayhook', 'exc_clear', 'exc_info', 'exc_type', 'excepthook', 'exec_prefix', 'executable', 'exit', 'getcheckinterval', 'getdefaultencoding', 'getdlopenflags', 'getfilesystemencoding', 'getrecursionlimit', 'getrefcount', 'hexversion', 'last_traceback', 'last_type', 'last_value', 'lib', 'maxint', 'maxunicode', 'meta_path', 'modules', 'path', 'path_hooks', 'path_importer_cache', 'platform', 'prefix', 'ps1', 'ps2', 'setcheckinterval', 'setdlopenflags', 'setprofile', 'setrecursionlimit', 'settrace', 'stderr', 'stdin', 'stdout', 'version', 'version_info', 'warnoptions'] >>> Perhaps you should uninstall and reinstall python, in case a file is corrupt. Steve -- http://mail.python.org/mailman/listinfo/python-list