Installation of Py3.0rc1 fails on Mac OS X with bad locale

mr mario.ruggier at gmail.com
Sat Nov 8 06:46:28 EST 2008


On Nov 1, 4:40 pm, "Martin v. Löwis" <mar... at v.loewis.de> wrote:
>
> It would be best if a Mac user could propose a patch for that problem
> before the release of Python 3.0.

Not sure if this would qualify as a patch, but a workaround that seems
to be working for me is to change the bash environment's default
locale setting -- to a value acceptable to py3.

I did this by adding the following line to /etc/profile:

export LC_ALL="en_US.UTF-8"

Presumably, other valid values should also work correctly.

mario



More information about the Python-list mailing list