-
Notifications
You must be signed in to change notification settings - Fork 652
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
ImportError: You must install pydot and graphviz for pydotprint
to work.
#25
Comments
try #7 |
Solved. I commented the Thanks you. Good code @XifengGuo |
hi @bukosabino, can you tell me what you commented out to get the |
hi @BrownPanther , I think my reply doesn't make sense now because this line is out of current code. |
I got this to work by "brew install graphviz". |
|
p.s. I also tried |
This fixed it for me on my Mac. |
Just in case someone using windows might need it, modify the Seems that the package was written for *nix system. So in windows, assign it to be an |
I was able to get it to work with Tensorflow 2 on Ubuntu with:
|
@swun90 Thank you for your solution. It works for me :) |
Also I needed to open CMD with administrator privileges and run |
Install pydot, graphviz using conda/pip
return.bat didn't exist in Graphviz install directory.
For some reason subprocess.Popen was not able to find 'dot.exe' from my system (I had Graphviz/bin to the system path variables), used absolute path instead and it worked! |
conda install graphviz solved the problem for me 👍 |
conda install graphviz |
The following commands solved the problem for me
|
When I run capsulenet.py, I have this error:
ImportError: Failed to import pydot. You must install pydot and graphviz for pydotprint to work.
But, I have installed pydot and graphviz:
pydot==1.2.3
graphviz==0.8.1
Any idea?
The text was updated successfully, but these errors were encountered: