Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail to run pip install -r requirements.txt on ubuntu 22.04.5 LTS #13

Open
benzhi opened this issue Oct 17, 2024 · 0 comments
Open

Fail to run pip install -r requirements.txt on ubuntu 22.04.5 LTS #13

benzhi opened this issue Oct 17, 2024 · 0 comments

Comments

@benzhi
Copy link

benzhi commented Oct 17, 2024

When running the command pip install -r requirements.txt, it fails with the following errors:

      pygraphviz/graphviz_wrap.c:2711:10: fatal error: graphviz/cgraph.h: No such file or directory
       2711 | #include "graphviz/cgraph.h"
            |          ^~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pygraphviz

I managed to install pygraphviz using anaconda, but as is I can not install from the repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant