2

仅供参考——今天早上跑步drake/setup/mac/install_prereqs.sh导致

Using robotlocomotion/director
==> Downloading https://downloads.sourceforge.net/dejavu/dejavu-fonts-ttf-2.37.zip
Already downloaded: /Users/russt/Library/Caches/Homebrew/downloads/d627008ddad0942dbf3f0979ce370923362db0b1c087521b0fce86fb9798d74c--dejavu-fonts-ttf-2.37.zip
==> Verifying SHA-256 checksum for Cask 'font-dejavu'.
==> Installing Cask font-dejavu
Error: It seems there is already a Font at '/Users/russt/Library/Fonts/DejaVuSerifCondensed.ttf'.
==> Purging files for version 2.37 of Cask font-dejavu
Installing font-dejavu has failed!
Using bazel
Using diffstat
Using doxygen
Using freetype
Using kcov
Using llvm@6
Using patchutils
Homebrew Bundle failed! 1 Brewfile dependency failed to install.
russt@air drake % brew cask uninstall font-dejavu
Error: Cask 'font-dejavu' is not installed.

我决定在这里发布我的流程,以防其他人遇到同样的情况并感到卡住。

4

3 回答 3

1

https://github.com/RobotLocomotion/drake/pull/13098开始, install_prereqs 脚本现在/usr/local/bin/brew cask uninstall font-dejavu-sans可以自动解决问题。

于 2020-04-20T21:57:08.323 回答
1

手动删除有问题的文件并重新运行安装程序让我过去了:

% rm /Users/russt/Library/Fonts/DejaVu*.ttf
% ./setup/mac/install_prereqs.sh

(尽管我们的老朋友仍然露面ERROR: botocore 1.15.41 has requirement docutils<0.16,>=0.10, but you'll have docutils 0.16 which is incompatible.,但我忽略了这一点。)

于 2020-04-19T17:29:07.797 回答
0

仅供参考,我已经在https://github.com/RobotLocomotion/drake/pull/13071#pullrequestreview-394664853报告了这个问题。

我的解决方案是,brew cask uninstall font-dejavu-sans但它本质上与rm $HOME/Library/Fonts/DejaVu*.

我在#13071中添加了指向此 SO 条目的链接。

于 2020-04-20T11:14:05.547 回答