I see many questions on the difficulties of properly installing pygraphviz
and graphviz
on Windows for Python 2.7. But no answers that I have found
You may first install "easy_install" (look at How to use Python's "easy_install" on Windows ... it's not so easy) then 2 packages are required: 'python-pygraph' & 'libgv-python'.
You'll find loads of install-ready packages on this site: http://www.lfd.uci.edu/~gohlke/pythonlibs/ including the ones you tried to install. I know I'm way too late with the answer but I just became a member.
Here are the steps I followed to get pygraphviz working for Python 3.4 (I think if you follow the analogous steps, it should work for Python 2.x). I'm just documenting it here for future visitors to the page :
Pre-requisites :
cp34
indicating the python version.)Steps:
twopi -V
. You should be able to see the Graphviz version printed onto the console.anaconda.bat
, a prompt where you can run python
)pip install pygraphviz‑*$version*-cp34‑none‑win_amd64.whl