|
From: | Ron Lai |
Subject: | Re: [igraph] install on Ubuntu? |
Date: | Mon, 4 Feb 2013 14:37:34 -0600 |
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
> Reading package lists... DoneJudging from the error message, you wrote "sudo apt-get install igraph-python" and not "sudo apt-get install python-igraph".
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package igraph-python
Why not "sudo apt-get install python-cairo"? No need to bother with compiling pycairo from source; Ubuntu provides a binary package.
> I've tried to install cairo
> sudo apt-get install libcairo2-dev
> sudo pip install pycairo
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".
> 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
--
T.
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |