Phil Thompson added the comment: The problem is the import of the encodings module in _PyCodecRegistry_Init(). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue26007> _______________________________________