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 09:56:19 EDT 2012


I'm using python3.2.1
on  Enterprise Linux Server release 5.3 (Carthage).

I'm starting my apps calling python3 file.py <params>

I have a script that runs on system startup executing my python scripts.

Any other info you need?

Thanks so far,

Robison

On Tue, Sep 25, 2012 at 9:49 AM, Oscar Benjamin
<oscar.j.benjamin at gmail.com>wrote:

> On 25 September 2012 12:32, Robison Santos <rwrsantos at gmail.com> wrote:
>
>> 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"
>>
>
> What  OS etc. are you using and how are you starting the apps?
>
> Oscar
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120925/4c3b250d/attachment.html>


More information about the Python-list mailing list