igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] install on Ubuntu?


From: Ron Lai
Subject: Re: [igraph] install on Ubuntu?
Date: Mon, 4 Feb 2013 14:37:34 -0600

Tamas, thanks for your quick response (and your great work with this package)
Here's what I run:

>sudo apt-get install python-igraph
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python-igraph

As you can see I can't find the python-igraph package.

I've tried to add the ppa:

sudo add-apt-repository ppa:igraph/ppa
sudo apt-get update
sudo apt-get install python-igraph

Using Ubuntu 11.04 64 bit at the moment but have tried the same in Ubuntu 12.10 64 / 32

Best,
Ron Lai



On Mon, Feb 4, 2013 at 2:24 PM, Tamás Nepusz <address@hidden> wrote:
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package igraph-python
Judging from the error message, you wrote "sudo apt-get install igraph-python" and not "sudo apt-get install python-igraph".

> I've tried to install cairo
> sudo apt-get install libcairo2-dev
> sudo pip install pycairo
Why not "sudo apt-get install python-cairo"? No need to bother with compiling pycairo from source; Ubuntu provides a binary package.

> sudo pip install python-igraph
>
> Here's what happens:
>
> unable to execute gcc: No such file or directory
> error: command 'gcc' failed with exit status 1
You haven't installed a C compiler on your machine so pip cannot compile igraph. Install a C compiler if you really want to compile python-igraph using pip, but as mentioned above, no need to do that, just make sure you try to install "python-igraph" and not "igraph-python".

--
T.


_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



--
sent from mobile

reply via email to

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