homebrew - 在 Mac OS X Sierra 上运行 meld 时的警告

标签 homebrew macos-sierra meld

我已经在我的机器上安装了 homebrew。使用 brew 我已经安装了 meld 。当我使用 git 运行它时,出现以下错误:

Couldn't bind the translation domain. Some translations won't work.
'module' object has no attribute 'bindtextdomain'
2016-10-20 10:14:08.422 Python[22212:158273] *** WARNING: Method userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It should not be used in new applications. Use convertRectToBacking: instead.

(meld:22212): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs

我不明白 brew 究竟是如何工作的。事实上,我从来没有深入研究过它的代码,只是用它来(卸载)安装软件。

做了一些在线搜索,但似乎没有解决方案。有没有人想出来?

最佳答案

Homebrew 只是一个 MacOS 的包管理器。与 Linux 不同,Mac 并不总是拥有您可能需要的所有外部库,例如 wget、pip 等开箱即用。 Homebrew 试图弥合这一差距。

至于对您的问题进行故障排除,遵循 Homebrew 的故障排除步骤帮助了我......您可能只是陷入了依赖 hell ,因为 Homebrew 将其许多库与 Xcode 集成(对我来说,它需要将 Xcode 更新到最新版本):https://github.com/Homebrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting

使用 brew update 保持最新状态非常重要,然后运行 ​​brew doctorbrew prune 也为我解决了很多问题。

如果一切都失败了, Homebrew 似乎已经将融合公式从 Homebrew/核心转移到了木桶/木桶。所以我记得在运行 brew doctor 并更新 Xcode 后必须 运行以下命令 :

$ brew uninstall meld
$ brew install meld
Error: No available formula with the name "meld"
It was migrated from homebrew/core to caskroom/cask.
You can access it again by running:
brew tap caskroom/cask
$ brew tap caskroom/cask
$ brew cask install meld
==> Downloading https://github.com/yousseb/meld/releases/download/osx-9/meldmerge.dmg
######################################################################## 100.0%
==> Verifying checksum for Cask meld
==> Moving App 'Meld.app' to '/Applications/Meld.app'.
==> Linking Binary 'Meld' to '/usr/local/bin/meld'.
🍺  meld was successfully installed!

关于homebrew - 在 Mac OS X Sierra 上运行 meld 时的警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40160661/

相关文章:

python - 检查 Homebrew 安装以安装 Python

mysql - 我可以使用Homebrew安装MySQL 5.6.26吗?

ios - itunes 连接从 Xcode 8 上传的无效版本

unix - 融合 - GLib-GIO-ERROR** : No GSettings schemas are installed on the system

linux - 具有合并和多个文件的 SVN

opencv - 无法在 mac osx 上使用brew或make安装opencv

bash - 在 OSX 10.12/Sierra 中使用终端安装网络驱动器

sql-server - 我无法通过 Mac 上的 Visual Studio Code 连接到 SQL Server

macos - 在OS X 10.7上无法正常运行?

bash - 静默/自动 Homebrew 安装