Hello friends,

I am new to igraph and I got it up and running in no time. I found it
really cool to work with. However, I failed so many times trying to install
the py2cairo and pycairo libraries. I followed many instructions on the
StackOverflow but none worked.

Here is the error that I am getting on my Mac OS Lion. I would truly
appreciate any help.

-Ahmed


>>> layout = g.layout_kamada_kawai()
>>> layout = g.layout("kamada_kawai")
>>> layout = g.layout_reingold_tilford(root=2)
>>> layout = g.layout("rt", 2)
>>> layout = g.layout("kk")
>>> plot(g, layout = layout)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/igraph/drawing/__init__.py", line
427, in plot
    result = Plot(target, bbox, background="white")
  File "/Library/Python/2.7/site-packages/igraph/drawing/__init__.py", line
122, in __init__
    self._surface_was_created = not isinstance(target, cairo.Surface)
  File "/Library/Python/2.7/site-packages/igraph/drawing/utils.py", line
396, in __getattr__
    raise TypeError("plotting not available")
TypeError: plotting not available
>>>
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to