Failed wheel for pygraphviz
The steps I did.
- Installed Graphviz for windows.
- Included bin , include and lib in system path.
- Tried installing pygraphviz with command 1 and command 2 but getting the below error.
command 1 : pip install pygraphviz
command 2 : python -m pip install -U --no-cache-dir --config-settings="--global-option=build_ext" --config-settings="--global-option=-IC:\path\to\graphviz\include" --config-settings="--global-option=-LC:\path\to\graphviz\lib" pygraphviz
Error :
@jlec even I am facing the same issue
brew install graphviz
pip install graphviz
pip install pygraphviz
This worked for me Thanks to https://stackoverflow.com/a/61258493
Are you on macos/arm64? I have the same issue. had to build from source :(
Windows 11, Visual Studio Code 2022, Python 3.12, facing the same issue. No matter what I do, it fails at building the wheel. graphviz is installed and in PATH.