Skip to content

pydot would not work until I installed graphviz on macOS  #141

@ghost

Description

Steps

  • I have a small prov script that I know works

  • On a system that DOESN'T have prov installed, running the script resulted in:
    ModuleNoteFoundError: No module named 'prov'
    as expected.

  • I ran:
    pip3 install "prov[dot]"
    (in quotes because of how zsh handles '[]')

  • Running the script again, I get:
    FileNotFoundError: [Errno 2] "dot" not found in path

After a bit of searching, I found that installing graphviz may be necessary, so I ran:
brew install graphviz
which came with a number of dependencies of its own.

The script was then able to run correctly and produce the graph.

Could the graphviz dependancy be addressed in the package?

Many thanks

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions