In fact, that's what igraph does in order to check whether Cairo is
installed or not. In case of an ImportError, igraph creates a "fake"
cairo module temporarily that just throws an exception with every
single function call saying that plotting is not available.
So, anyway, make sure you have the Python interface for Cairo. If
not, download it and try to compile it:
http://cairographics.org/releases/pycairo-1.4.12.tar.gz
It should compile by the usual python setup.py build && sudo python
setup.py install way if you have Cairo installed (but make sure you
call MacPython's python executable and not the built-in one,
otherwise the Python bindings of Cairo get installed for the built-
in Python and not MacPython). The one shipped with R might not be
enough, though, as it is buried somewhere in a non-standard path
inside /Applications/R.app/whatever, so I installed the Cairo
libraries from fink and then compiled pycairo.
--
Tamas
_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help