Christian Heimes added the comment: Update: pythonw fails because the standard streams can't be initialized. fileno(stdin), fileno(stdout) and fileno(stderr) are returning -2. __________________________________ Tracker <report at bugs.python.org> <http://bugs.python.org/issue1415> __________________________________