Trac/Python24

Daniel Ericsson deric at caveo.se
Sun Oct 15 02:00:30 PDT 2006


On 14 okt 2006, at 20.27, Dominik Madon wrote:

>>> Did you select any variant?
>>
>> nope. (but I am running on a PPC machine).
>
> I just made a check on my PPC and it works, too.

 > /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?

<snip>

- Daniel



More information about the macports-dev mailing list