[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] install on Ubuntu?
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] install on Ubuntu? |
Date: |
Mon, 4 Feb 2013 21:24:30 +0100 |
> 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] install on Ubuntu?, Ron Lai, 2013/02/04
- Re: [igraph] install on Ubuntu?,
Tamás Nepusz <=
- Re: [igraph] install on Ubuntu?, Ron Lai, 2013/02/04
- Re: [igraph] install on Ubuntu?, Tamás Nepusz, 2013/02/04
- Re: [igraph] install on Ubuntu?, Ron Lai, 2013/02/04
- Re: [igraph] install on Ubuntu?, Tamás Nepusz, 2013/02/04
- Re: [igraph] install on Ubuntu?, Ron Lai, 2013/02/04
- Re: [igraph] install on Ubuntu?, Ron Lai, 2013/02/04