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

dependencies on pydot and graphviz not correctly handled #146

Open
TobiBu opened this issue Sep 19, 2022 · 1 comment
Open

dependencies on pydot and graphviz not correctly handled #146

TobiBu opened this issue Sep 19, 2022 · 1 comment
Labels
enhancement help wanted infrastructure internals, organization, refactoring

Comments

@TobiBu
Copy link

TobiBu commented Sep 19, 2022

Hi,

I just discover that when trying to use the TreePlot routine I get an error that graphviz and pyrotechnics are not installed.
These dependencies should be handled by pip install, right?

@brittonsmith
Copy link
Collaborator

Unfortunately, the python graphviz module installed with pip is not the same as the core graphviz library. Currently, ytree uses the pydot module, which requires the core graphviz library. As far as I know, this library cannot be installed with pip or conda and requires something like homebrew for macs and apt-get for linux. This is why it's not listed as an explicit package dependency. It looks like the python graphviz module (https://pypi.org/project/graphviz/) could be a viable alternative to pydot. It's not something I have time to look at right now, but if you are interested in having a look, I'm happy to talk with you more about this.

@brittonsmith brittonsmith added enhancement help wanted infrastructure internals, organization, refactoring labels Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted infrastructure internals, organization, refactoring
Projects
None yet
Development

No branches or pull requests

2 participants