-
Notifications
You must be signed in to change notification settings - Fork 1k
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
PNG not generating in Python3 tutorial on Windows machine #147
Comments
Was this ever resolved? I am having the same issue... I tried creating the file in the directory as well and am still not having luck. However, it is very possible that I did create this file in the wrong directory. I am unsure, please help! |
When I ran the above commands, I found that the command "dot" was not recognised: To make this work, I added the path for Graphviz bin folder in my system and user env variables and it worked (Ref - https://bobswift.atlassian.net/wiki/spaces/GVIZ/pages/20971549/How+to+install+Graphviz+software) |
I tried to run the code found in:
https://github.com/h2oai/h2o-tutorials/blob/master/tutorials/isolation-forest/interpreting_isolation-forest.ipynb
I tried the code on two different machines and got the same issue:
FileNotFoundError: No such file or directory: './global_surrogate_decision_tree.png'
the problem is generated by the following code:
I ripped out the guts of the function and ran it line by line as shown below, to try to narrow down the offending line of code:
I verified that
global_surrogate_decision_tree_hex.zip
existed atmojo_path
.I verified that
h2o-genmodel.jar
existed ath2o_jar_path
.The code fails here:
and the error message is below:
I checked the directory and indeed, I could not find the file:
global_surrogate_decision_tree.png
. Not sure if there is an obvious solution here but I think the tutorial should be updated such that this issue doesn't happen for others who may try it.The text was updated successfully, but these errors were encountered: