Search code examples
pythonhomebrewgraphviz

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


When I try to write brew install graphviz in the terminal the error is

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

I tried already xcode-select --install with the result:

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


Solution

  • Once you have installed the xcode-select --install, you can proceed again with the brew install graphviz succesfully. Try it