igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] igraph and python3


From: Nate Reed
Subject: [igraph] igraph and python3
Date: Fri, 4 Dec 2015 07:35:40 -0600

I wrote a Python 2.7 script that uses igraph, but when I tried running in Python 3, it fails as follows:

>>> from igraph import *
>>> g = Graph(directed=True)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'Graph' is not defined

Is Python 3 supported? Is there documentation on use of igraph with Python3?

Thanks,
Nate

reply via email to

[Prev in Thread] Current Thread [Next in Thread]