-
Notifications
You must be signed in to change notification settings - Fork 763
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
InvocationException: GraphViz's executables not found in examples/uplift_tree_visualization.ipynb #651
Comments
graphviz has a recurring issue with the env variable issue. It seems to require manual installation for it to work Link |
@vincewu51 @jeongyoonlee On a clean instance, for me, I was able to resolve with two steps:
after which there appears to be an issue with libxrender. When I check the After installing it with Since libxrender can also be installed through conda, and since we've previously tried to avoid installing system libs manually via
I'd be happy to include a PR that incorporates the fix. |
That will be great. Thank you!
…On Tue, Aug 22, 2023 at 8:10 AM ras44 ***@***.***> wrote:
@vincewu51 <https://github.com/vincewu51> @jeongyoonlee
<https://github.com/jeongyoonlee> On a clean instance, for me, I was able
to resolve with two steps:
conda install python-graphviz
after which there appears to be an issue with libxrender. When I check the
ldd dependency resolution, libxrender is not installed:
[image: image]
<https://user-images.githubusercontent.com/9282281/262338067-88907ac9-930b-428a-974b-81ded8c9eda7.png>
After installing it with sudo apt-get install -y libxrender-dev, I see
beautiful tree plots!
[image: image]
<https://user-images.githubusercontent.com/9282281/262338312-c0c1494b-864e-4291-9b1f-ac8686df718c.png>
So it appears the solution is:
conda install python-graphviz
conda config --add channels conda-forge
conda install xorg-libxrender
I'd be happy to include a PR that incorporates the fix.
—
Reply to this email directly, view it on GitHub
<#651 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF26KAJTBKTJIZVB6YF53TLXWTDXVANCNFSM6AAAAAA22I3SKU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Describe the bug
Running https://github.com/uber/causalml/blob/master/examples/uplift_tree_visualization.ipynb leads to an error:
To Reproduce
Run http://34.171.211.97:8888/doc/tree/examples/uplift_tree_visualization.ipynb
Expected behavior
No error
Screenshots
Environment (please complete the following information):
Additional context
This looks like a missing dependency on graphviz
The text was updated successfully, but these errors were encountered: