[issue6501] Fatal LookupError: unknown encoding: cp0 on Windows embedded startup.
report at bugs.python.org
Fri Jul 17 12:21:45 CEST 2009
New submission from Graham Dumpleton <Graham.Dumpleton at gmail.com>:
When using Python 3.1 for Apache/mod_wsgi (3.0c4) on Windows, Apache will
crash on startup because Python is forcing the process to exit with:
Fatal Python error: Py_Initialize: can't initialize sys standard streams
LookupError: unknown encoding: cp0
I first mentioned this on issue6393, but have now created it as a separate
issue as appears to be distinct from the issue on MacOS X, athough possibly
In the Windows case there is actually an encoding, that of 'cp0' where as on
MacOS X, the encoding name was empty.
The same mod_wsgi code works fine under Python 3.1 on MacOS X.
components: Interpreter Core, Windows
title: Fatal LookupError: unknown encoding: cp0 on Windows embedded startup.
versions: Python 3.1
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list