> taken from the documentation, but I get the error
>
> python firstplot.py
> Traceback (most recent call last):
> File "firstplot.py", line 9, in <module>
> plot(g, layout="fr", vertex_label=None)
> File "/Library/Python/2.5/site-packages/igraph/drawing.py", line 738, in plot
> result = Plot(target, bbox)
> File "/Library/Python/2.5/site-packages/igraph/drawing.py", line 222, in __init__
> self._surface_was_created=not isinstance(target, cairo.Surface)
> File "/Library/Python/2.5/site-packages/igraph/drawing.py", line 51, in __getattr__
> raise TypeError, "plotting not available"
> TypeError: plotting not available
> bobs-imac:exampleR roberto$
>
>
> Do I need to install anything else?
Hello Bob,
you need to install the Cairo library and its python bindings. I'm on a mac, so I do this via macports:
sudo port install py26-cairo
Installing on linux should be similarly easy (via apt-get or similar). Your mileage may vary on Windows.
Yours,
Pascal
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help