after playing with pip I came to:
r1n1:/root/pygraphviz/pygraphviz-1.1# python setup.py install library_path=/usr/local/lib/graphviz include_path=/usr/local/include/graphviz running install running build running build_py creating build creating build/lib.openbsd-5.2-amd64-2.7 creating build/lib.openbsd-5.2-amd64-2.7/pygraphviz ........ creating build/temp.openbsd-5.2-amd64-2.7/pygraphviz cc -pthread -fno-strict-aliasing -O2 -pipe -DNDEBUG -O2 -pipe -fPIC -fPIC -I/usr/local/include/graphviz -I/usr/local/include/python2.7 -c pygraphviz/graphviz_wrap.c -o build/temp.openbsd-5.2-amd64-2.7/pygraphviz/graphviz_wrap.o pygraphviz/graphviz_wrap.c:2519:20: error: cgraph.h: No such file or directory I can only find cgraph.h in gcc source subtree. google also says nothing. nobody is using pygraphviz under OpenBSD ? however, pygraphviz changelog says about OpenBSD. 2013/3/5 James Griffin <j...@kontrol.kode5.net> > [--------- Tue 5.Mar'13 at 13:11:56 +0200 Gregory Edigarov :---------] > > > On 03/05/2013 11:49 AM, éÌØÑ ûÉÐÉÃÉÎ wrote: > > >Hello! > > > > > >is there python GraphViz in ports ? > > >if so, what is name of port (I couldn't find any) > > > > > >*<type 'exceptions.ImportError'>*: No module named gv > > > > > > > > >Cheers, > > >Ilya Shipitsin > > > > > > > > > > Seems like your problem is that you're looking in the wrong place. > > modules for python could be installed directly from it's packages > > repository via pip (or easy_install) utilities. > > you will need to install py-pip (py-pip-1.1p0.tgz) package first. > > > > easy_install come in the py-setuptools package. Personally, pip seems to > be better. I have both installed though so just choose which you prefer > after reading up a bit about them both.