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
Can pygraphviz provide everything needed to install it please? #347
Comments
The naming here is confusing: note that the The dependency for Have you tried the relevant procedure for your preferred platform detailed in the installation instructions? |
Ah ok. Yes the naming is very confusing. So it seems its not possible to have pygraphviz install the right version (the non python graphviz) for the user? e.g. in the HPC cluster I need the sys admins to install it for me...perhaps this is just a disadvantage that can't be avoid for some unknown reason to me? Thanks! |
Did you try the conda-forge pygraphviz option? conda install -c conda-forge pygraphviz Should install both GraphViz and pygraphviz... |
well that seemed to have worked for me...lets see if running my code actually works now!
|
Glad that worked for you @brando90 It seems that the Installation documentation could be made more clear. Two points stand out from the discussion above:
Re: the question in the title:
Ideally we'd like to provide binary wheels for pygraphviz with everything neatly packaged. This has been attempted in the past but there are some complicating factors re: GraphViz itself that haven't been figured out yet. See #167 for details. Figuring out how to provide wheels for pygraphviz would IMO be a huge improvement; contributions from packaging experts would be very much appreciated! |
I think the ominous sounding warning in our instructions that users not use conda is not necessary. :) |
Good point, especially the part about conda-forge because if you are going to use conda, you definitely should use the conda-forge channel (at least as of today) rather than the "official" anaconda channel, which are lagging behind. |
FWIW #333 updates the docs with more up-to-date conda instructions, along with CI jobs to regularly test the conda-forge channel. I just force-pushed to retrigger the doc build so it can be previewed. Maybe the CI stuff is overkill - if it'd be better to limit it to just the docs update LMK and I'm happy to remove all the extra build testing :) |
is this issue solved by doing |
|
I was trying to pip and conda install pygraphviz. I believe grahviz is installed since
but when I try installing pygraphviz with pip I get the following:
with conda:
what are the sources of my errors? [note I am on a linux machine, not mac os, my mac phygraphviz works fine]
I saw the following related questions:
but they didn't help because I cannot run
apt-get
Edit:
note I also did try to install
grapviz
with pip but that didn't solve my problems:cross posted: https://stackoverflow.com/questions/67509980/how-does-one-install-pygraphviz-on-a-hpc-cluster-without-errors-even-when-graphv
The text was updated successfully, but these errors were encountered: