python3 fail to start

Mark Dickinson dickinsm at
Tue Jun 30 12:08:03 EDT 2009

On Jun 30, 3:43 pm, ts <thaisi... at> wrote:
> i just install the python 3.1 dmg onto my mac. when i run python3, it
> fail with :
> Fatal Python error: Py_Initialize: can't initialize sys standard
> streams
> LookupError: unknown encoding:
> Abort trap
> couldnt understand the problem. anyone can help?

Hmm.  It's working fine for me (OS X 10.5.7/Macbook Pro).  What
of OS X are you using?  How are you running python3---by typing
'python3' at
a Terminal prompt, I assume?  What's the output of the 'locale'
command on
your system?


More information about the Python-list mailing list