pygraphviz icon indicating copy to clipboard operation
pygraphviz copied to clipboard

Failed wheel for pygraphviz

Open akshaytheau opened this issue 1 year ago • 5 comments

The steps I did.

  1. Installed Graphviz for windows.
  2. Included bin , include and lib in system path.
  3. 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 :

image

akshaytheau avatar Nov 26 '24 06:11 akshaytheau

@jlec even I am facing the same issue

Harsh-BFRS03046 avatar Nov 29 '24 05:11 Harsh-BFRS03046

brew install graphviz

pip install graphviz

pip install pygraphviz

This worked for me Thanks to https://stackoverflow.com/a/61258493

aaron23v avatar Feb 12 '25 05:02 aaron23v

@jlec even I am facing the same issue

have you ever solved ?

tandede avatar Mar 05 '25 09:03 tandede

Are you on macos/arm64? I have the same issue. had to build from source :(

robtaylor avatar Mar 13 '25 20:03 robtaylor

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.

Matt-CAND avatar Mar 20 '25 14:03 Matt-CAND