Trac/Python24
Dominik Madon
dominik at acm.org
Sun Oct 15 02:16:44 PDT 2006
Daniel,
> > /opt/local/bin/python
> Python 2.4.3 (#1, Aug 23 2006, 14:23:12)
> [GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import locale
> >>> locale.getpreferredencoding()
> 'mac-roman'
>
> This is on a Macbook. I saw in the thread that your locale py-
> package is installed, it's the C extension module that it can't
> find. It should be in /opt/local/lib/python2.4/lib-dynload/
> _locale.so. Maybe yours have been misplaced somehow?
I don't have it, however, that helps me a bit. I found that:
/opt/local/lib//python2.4/lib-dynload/_locale_failed.so
I will uninstall all the python stuff and rebuild it with the debug log.
Dominik
More information about the macports-dev
mailing list