Skip to content Skip to sidebar Skip to footer

Couldn't Install Pygraphviz

I have troubles installing pygraphviz on macOS Mojave 10.14.1. The Python version I used is 3.6.7. When executing the command pip install pygraphviz, I get the following lengthy er

Solution 1:

The question has been done by using this command:

pip install pygraphviz --install-option="--include-path=/usr/include/graphviz" --install-option="--library-path=/usr/lib/graphviz/"

Solution 2:

On Apple M1:

pip install --global-option=build_ext --global-option="-I/opt/homebrew/include/graphviz" --global-option="-L/opt/homebrew/Cellar/graphviz/2.46.1/lib/"  pygraphviz

Post a Comment for "Couldn't Install Pygraphviz"