Comment 2 for bug 739954

Hi Tamás,

Thanks for the fast response! I am using Ubuntu 10.04 LTS. I installed
igraph by doing:

sudo add-apt-repository ppa:igraph/ppa

sudo aptitude update
sudo aptitude install python-igraph

I just tried reinstalling using the above commands but I am still
getting the segmentation fault. Let me know if you have any
suggestions!

Thanks,

Amy

<http://igraph.wikidot.com/installing-python-igraph-on-linux>

On Tue, Mar 22, 2011 at 5:50 AM, Tamás Nepusz <email address hidden> wrote:

> What OS are you using and how did you install igraph? The reason why I
> am asking is because it works for me with igraph 0.5.4 (compiled fresh
> from the source code):
>
> tamas@keszeg:~/bzr/igraph/0.5-main/build $ igraph
> No configuration file, using defaults
> igraph 0.5.4 running inside Python 2.6.6 (r266:84292, Sep 15 2010,
> 16:22:56)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.10 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: g=Graph([(0,1), (0,2), (2,3), (3,4), (4,2), (2,5), (5,0), (6,3),
> (5,6)])
> In [2]: g.eigenvector_centrality()
> Out[2]:
> [0.71119954501079996,
> 0.24860112203602616,
> 1.0,
> 0.75139887796397364,
> 0.6122047310756773,
> 0.78600269906125164,
> 0.53740157702522562]
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/739954
>
> Title:
> Segmentation fault when calculating eigenvector centrality
>
> Status in The igraph library:
> New
>
> Bug description:
> Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
> In [1]: import igraph
> In [2]: g = igraph.Graph([(0,1), (0,2), (2,3), (3,4), (4,2), (2,5), (5,0),
> (6,3), (5,6)])
> In [3]: g.eigenvector_centrality()
> Segmentation fault (core dumped)
>
> I get a segmentation fault error whenever I attempt to calculate
> eigenvector centrality using igraph. I am using version 0.5.4.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/igraph/+bug/739954/+subscribe
>

--
-Amy