我正在尝试在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我不确定是什么导致了这个错误,也不知道还能做什么,我希望能给出一些指导,告诉我下一步要尝试什么步骤。
发布于 2014-12-30 20:16:43
我决定构建一个原生端口。只需下载dmg文件并像安装任何Mac应用程序一样安装它即可。
这就是:https://github.com/yousseb/meld/releases/tag/osx-v1
希望你们觉得有用...
发布于 2014-10-22 02:04:53
重新安装所有的meld依赖项对我来说是可行的。
brew rm --force gobject-introspection pygobject py2cairo pygtk rarian meld
brew cask install meldhttps://stackoverflow.com/questions/24397385
复制相似问题