1

当我运行时,brew tap caskroom/cask我收到相互矛盾的错误消息。

Warning: git 2.15.1 is already installed
Error: Git must be installed and in your PATH!

以前,brew link --overwrite git当 brew 也问我时,我跑了。

Git 似乎安装得很好,它确实在我的路径中:

$ git --version
git version 2.15.1
$ which git
/usr/local/bin/git
$ echo $PATH
/Users/selah/anaconda3/bin:/Applications/instantclient_12_1:/Users/selah/anaconda/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin

我的最终目标是brew info osxfuse成功运行。目前我收到以下错误:

Error: No available formula with the name "osxfuse" 
It was migrated from homebrew/core to caskroom/cask.
You can access it again by running:
  brew tap caskroom/cask

谁能帮我解决这个brew tap错误,以便 brew 可以查看 osxfuse 的信息?

4

1 回答 1

2

我安装了开发人员工具,这纠正了我的问题:

xcode-select --install
于 2017-12-19T22:26:48.250 回答