At little late to the party, but, one thing that worked for me was to install pkg-config . Looks like easy_install / pygraphviz really prefers that on Ubuntu.