Python 3 crashes with 'Py_Initialize: can't initialize sys standard streams' + 'EOFError: EOF read where not expected'

Robison Santos rwrsantos at gmail.com
Tue Sep 25 07:32:30 EDT 2012


Hello guys,

I'm having a very serious problem with my python3 environment and I'm
completely lost about the problem.
In my server I run two python apps (custom apps) during system start time,
and sometime when the apps are starting a corefile is generated for one one
them (not always the same) and the following error is reported:

"Fatal Python error: Py_Initialize: can't initialize sys standard streams
EOFError: EOF read where not expected"

Does anyone knows more about this problem and how can I fix it?

Looking on the internet, I found issues related to the first line
"Py_Initialize: can't initialize sys standard streams"  and issues for the
second line "EOF read where not expected" but none correlating both
problems.

Thanks a lot.

PS.: I'm not part of this list, so a direct reply to my personal email
would be great.

-- 
Robison W R Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120925/05ea5a07/attachment.html>


More information about the Python-list mailing list