On Tue, Oct 23, 2012 at 2:39 AM, Stephen J. Turnbull < turnbull@sk.tsukuba.ac.jp> wrote:
So it shuts down abnormally. That's what an abort means, in programming as in rocket launches. Users should be scared if this happens; somebody really screwed up. (Unless it's themselves, and then they only have themselves to blame.)
The error message could be improved though. Right now I get:
E:\>python Fatal Python error: Py_Initialize: unable to load the file system codec ImportError: No module named 'encodings'
This could be improved to:
Fatal Python error: Py_Initialize: unable to find module named 'encodings' in 'C:\'
That may be an improvement. But in that case it might be worth explaining where "C:\" came from (in this case PYTHONHOME, I guess?)
Good idea. Fatal Python error: Py_Initialize: unable to find module named 'encodings' in PYTHONHOME ('C:\')