我正在使用port在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问题是什么以及如何处理它?
发布于 2012-08-15 10:09:12
设置
export LANG=C; export LC_ALL=C修复了这个问题并让meld运行。
https://stackoverflow.com/questions/11892957
复制相似问题