仅供参考--今天早上运行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.我已经决定在这里发布我的过程,以防其他人遇到同样的情况并感到卡住了。
发布于 2020-04-20 01:29:08
手动删除有问题的文件并重新运行安装程序让我通过了它:
% 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-21 05:57:08
从https://github.com/RobotLocomotion/drake/pull/13098开始,install_prereqs脚本现在执行/usr/local/bin/brew cask uninstall font-dejavu-sans以自动解决问题。
发布于 2020-04-20 19:14:06
仅供参考,我已经在https://github.com/RobotLocomotion/drake/pull/13071#pullrequestreview-394664853上报告了这个问题。
我的解决方案是brew cask uninstall font-dejavu-sans,但它在本质上与rm $HOME/Library/Fonts/DejaVu*做同样的事情。
我已经在#13071中添加了指向此SO条目的链接。
https://stackoverflow.com/questions/61308707
复制相似问题