Hi Nick, This is very likely a Python 2.x vs 3.x issue - the Python interface of igraph is primarily developed in Python 2.x and its source is converted to fit Python 3.x on-the-fly when it is installed. I have recently committed a patch that probably fixes your issue:
https://github.com/igraph/python-igraph/commit/abb4a67b I think there was no new release of python-igraph since this particular commit so this is not in the last stable version yet. T. T. On Thu, Nov 5, 2015 at 12:54 AM, Nick Eubank <[email protected]> wrote: > Hi All, > > When I run: > > import igraph as ig > ig.plot(ig.Graph.Full(8)) > > in iPython 3.2.1 (in the Spyder IDE) with Python 3.4.3, I'm getting the > following error: > > Out[3]: <igraph.drawing.Plot at 0x110d87ba8>Traceback (most recent call > last): > > File > "/Users/Nick/anaconda/lib/python3.4/site-packages/IPython/core/formatters.py", > line 334, in __call__ > return method() > > File > "/Users/Nick/anaconda/lib/python3.4/site-packages/igraph/drawing/__init__.py", > line 352, in _repr_svg_ > surface.finish() > > TypeError: 'str' does not support the buffer interface > > > Not sure if this is an iGraph, iPython, or cairo error! Any suggestions? > Runs fine in regular python. > > Thanks! > > Nick > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
