Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

make sure the Graphviz executables are on your systems' PATH #12

Open
njustzsm opened this issue Jun 7, 2018 · 6 comments
Open

make sure the Graphviz executables are on your systems' PATH #12

njustzsm opened this issue Jun 7, 2018 · 6 comments

Comments

@njustzsm
Copy link

njustzsm commented Jun 7, 2018

I use this tool,but it can't work, I have executed Graphviz ,how to deal it? win10 anaconda

@tobiaspiechowiak
Copy link

You need to set the system path variable to your local graphviz installation. So for example

c:\Program Files (x86)\Graphviz2.38\

needs to be set as system path variable.

@agaelema
Copy link

Hi,

I was with the same problem on Anaconda +win 7.

I installed the Graphviz and add the Path Variable. To add the Path Variable, follow this link: https://stackoverflow.com/a/47031762

I don't know if just this solved the problem because before add the path variable I tried:

  • conda install -c anaconda graphviz
  • pip install graphviz
  • pip3 install graphviz
  • conda install python-graphviz

@oleksii-manzik
Copy link

You can also add these lines of code:

import os
os.environ['PATH'] += os.pathsep + 'place where your graphviz is installed for example C:\something\Graphviz-2.38\release\bin'

@rarezhang
Copy link

rarezhang commented Mar 18, 2020

Hi,

I was with the same problem on Anaconda +win 7.

I installed the Graphviz and add the Path Variable. To add the Path Variable, follow this link: https://stackoverflow.com/a/47031762

I don't know if just this solved the problem because before add the path variable I tried:

  • conda install -c anaconda graphviz
  • pip install graphviz
  • pip3 install graphviz
  • conda install python-graphviz

conda install python-graphviz solved my problem.

@scriabinEtude
Copy link

Hi,
I was with the same problem on Anaconda +win 7.
I installed the Graphviz and add the Path Variable. To add the Path Variable, follow this link: https://stackoverflow.com/a/47031762
I don't know if just this solved the problem because before add the path variable I tried:

  • conda install -c anaconda graphviz
  • pip install graphviz
  • pip3 install graphviz
  • conda install python-graphviz

conda install python-graphviz solved my problem.

TY SO MUCH

@endolith
Copy link

The most important thing to realize is the package names are not the same:

  • conda install graphviz installs the binaries.
  • pip install graphviz installs the python frontend for GraphViz.
  • conda install python-graphviz installs the python frontend as well.

So with conda you want to do conda install graphviz python-graphviz.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants