finesse.env.has_pygraphviz¶
- finesse.env.has_pygraphviz()[source]¶
Determine if pygraphviz and graphviz are available on the current path.
- Returns:
- bool
True if pygraphviz and graphviz are available, False otherwise.
Notes
This returns False if either pygraphviz or graphviz is not installed or correctly configured. If pygraphviz is installed but graphviz is not installed or could not be found, an import error complaining about something like “libagraph.so.1” is emitted (see the pygraphviz FAQ).