Open dan-zheng opened 11 months ago
For reference, here are the pygraphviz installation instructions for macOS + Apple Silicon (for Apple Silicon, Homebrew has a custom install location):
$ brew install graphviz
$ pip3 install --use-pep517 \
--config-setting="--global-option=build_ext" \
--config-setting="--build-option=-I$(brew --prefix graphviz)/include/" \
--config-setting="--build-option=-L$(brew --prefix graphviz)/lib/" \
pygraphviz
$ pip3 install python_graphs # Now this works
I can help document these installation commands! We can just add a link to pygraphviz's installation commands.
pip3 install python_graphs
didn't work for me on macOS 13.5 (Apple Silicon) with Python 3.10:The reason is pygraphviz has extra dependencies (graphviz) and special installation instructions.
https://pygraphviz.github.io/documentation/stable/install.html
Figuring out the correct commands to install pygraphviz took quite a few minutes. Documenting this would be great.