我正在尝试在 Mac OSX 上安装 meld,我使用了 macports 并安装了 meld 和 pygtk,但是当我运行它时,这就是我得到的
$ meld
Couldn't bind the translation domain. Some translations won't work.
'module' object has no attribute 'bindtextdomain'
Cannot import: pygtk
No module named pygtk
所以我尝试使用 pip 来获取 pygtk
$ pip install pygtk
Downloading/unpacking pygtk
Downloading pygtk-2.24.0.tar.bz2 (2.4MB): 2.4MB downloaded
Running setup.py egg_info for package pygtk
********************************************************************
* Building PyGTK using distutils is only supported on windows. *
* To build PyGTK in a supported way, read the INSTALL file. *
********************************************************************
Complete output from command python setup.py egg_info:
********************************************************************
* Building PyGTK using distutils is only supported on windows. *
* To build PyGTK in a supported way, read the INSTALL file. *
********************************************************************
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/var/folders/0y/8w4qlr0d6tv6_jgk87x53fcw0000gn/T/pip_build_frazras/pygtk
我不确定是什么导致了该错误或其他操作,我将不胜感激有关下一步尝试的一些指导。