brew install graphviz - [#<Dependency: "python" []>, #<Options: []>] 不能作为二进制包安装,必须从源代码构建

brew install graphviz - [#<Dependency: "python" []>, #<Options: []>] cannot be installed as binary package and must be built from source

当我尝试在终端中写入 brew install graphviz 时,错误是

Error: The following formula
  [#Dependency: "python" []>, #<Options: []>]
cannot be installed as binary package and must be built from source.
Install the Command Line Tools:
  xcode-select --install

我已经尝试 xcode-select --install 结果:

"xcode-select: note: install requested for command line developer tools"

安装 xcode-select --install 后,您可以再次成功执行 brew install graphviz。试一试