pykello / racket-graphviz

Library to enable using graphviz in Racket programs
BSD 3-Clause "New" or "Revised" License
25 stars 3 forks source link

Mac issue #5

Open srfoster opened 4 years ago

srfoster commented 4 years ago

On OSX, I'm getting /bin/sh: dot: command not found when I run dot->pict.

I do have graphviz installed.

> which dot
/opt/local/bin/dot

Do I need to do extra configuration/installation to get this package to work?

srfoster commented 4 years ago

Update:

I can get it to work if I run this before dot->pict:

(putenv "PATH"
        (~a (getenv "PATH")
            ":/opt/local/bin/" ))