> 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 [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
