9

我正在使用端口在 Mac OS 上安装 meld。

它已下载所有依赖项并告诉一切正常:

Staging meld into destroot
Installing meld @1.5.3_0
Activating meld @1.5.3_0
Cleaning meld
Updating database of binaries: 100.0%
Scanning binaries for linking errors: 100.0%
No broken files found.

但是当我运行时:

[18:28:24]~$ meld

回溯(最近一次通话最后):

File "/opt/local/bin/meld", line 75, in <module>

locale.setlocale(locale.LC_ALL,'')

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 539, in setlocale

return _setlocale(category, locale)

locale.Error: unsupported locale setting

问题是什么以及如何处理?

4

1 回答 1

17

环境

export LANG=C; export LC_ALL=C

解决了问题并让融合运行。

于 2012-08-15T02:09:11.710 回答