Meld,Mac OSX上的pygtk

问题描述 投票:0回答:2

我试图在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

我不确定是什么导致了这个错误或者还有什么可做的,我希望在下一步尝试的步骤方面有所指导。

python macos pip meld
2个回答
3
投票

我决定建立一个本地端口。只需下载dmg文件并像安装任何Mac应用程序一样安装它。

这是:https://github.com/yousseb/meld/releases/tag/osx-v1

希望你们发现它有用......


1
投票

重新安装所有融合依赖项对我有用。

brew rm --force gobject-introspection pygobject py2cairo pygtk rarian meld
brew cask install meld
© www.soinside.com 2019 - 2024. All rights reserved.