[Python-3000] Persistent Error

Stefan Behnel stefan_ml at behnel.de
Fri Jun 6 10:52:32 CEST 2008


Anand Balachandran Pillai wrote:
> After commenting out the code which catches the ImportError,
> this is the trace.
> 
> [anand at localhost ~]$ python3
> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> Traceback (most recent call last):
>   File "/usr/local/lib/python3.0/io.py", line 63, in <module>
>     import warnings
>   File "/usr/local/lib/python3.0/warnings.py", line 268, in <module>
>     from _warnings import (filters, default_action, once_registry,
> ImportError: No module named _warnings
> Aborted

Looks like you should rebuild your Python and check for build errors in the
_warnings module.

Stefan



More information about the Python-3000 mailing list