[issue32849] Fatal Python error: Py_Initialize: can't initialize sys standard streams

Alexey Izbyshev report at bugs.python.org
Tue Feb 20 09:29:23 EST 2018


Alexey Izbyshev <izbyshev at ispras.ru> added the comment:

> But I'm not sure why it can be solved, sometimes, by restarting the the daemon.

Could it be simply because daemon is respawned from a process that does have a valid stdin at the time of respawn?

Note that daemon has an option to redirect std streams to /dev/null.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32849>
_______________________________________


More information about the Python-bugs-list mailing list