You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did
158 conda uninstall graphviz
from https://brew.sh/ I did
159 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
giving
Error:
homebrew-core is a shallow clone.
To brew update, first run:
git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This command may take a few minutes to run due to the large size of the repository.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Failed during: /usr/local/bin/brew update --force --quiet
So, as the message said, I ran
160 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
followed by
161 brew install graphviz --with-gts
giving
Error: invalid option: --with-gts
Ha! I totally agree that this is a headache. Graphviz is only used for one thing in the visualization: to render a graph. The "with-gts" option is only required to make slightly prettier graphs. So I don't think it's worth the bother.
You can just ignore the error about "triangulation library". To look at the graphs you can find the output graphs/tree.dot, etc. Those dot files specify a graph and they can be rendered using other, more modern software like OmniGraffle.
(And I also hate using homebrew, and have no idea how it works. I vaguely remember that the last time I got this to work I did something like "brew install gts" and then "brew install graphviz" (without the option) and it got it right.)
"brew install gts" and then "brew install graphviz" (without the option) let's me run the baby example without triangulation errors.
On to the next example.
Thanks.
I did
158 conda uninstall graphviz
from https://brew.sh/ I did
159 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
giving
Error:
homebrew-core is a shallow clone.
To
brew update
, first run:git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
This command may take a few minutes to run due to the large size of the repository.
This restriction has been made on GitHub's request because updating shallow
clones is an extremely expensive operation due to the tree layout and traffic of
Homebrew/homebrew-core and Homebrew/homebrew-cask. We don't do this for you
automatically to avoid repeatedly performing an expensive unshallow operation in
CI systems (which should instead be fixed to not use shallow clones). Sorry for
the inconvenience!
Failed during: /usr/local/bin/brew update --force --quiet
So, as the message said, I ran
160 git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch --unshallow
followed by
161 brew install graphviz --with-gts
giving
Error: invalid option: --with-gts
The only thing I see that explains this is this medium article.
https://medium.com/@scrossoracle/building-graphviz-from-source-on-macos-b6a846d73949
Now, before I dive headlong into this crap, I'd like to make sure: Is this the correct direction?
Thanks.
The text was updated successfully, but these errors were encountered: