igraph-help
[Top][All Lists]
Advanced

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

[igraph] install on Ubuntu?


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

Hi,

I used to have igraph 0.54 on Windows but now I'm trying to upgrade to 0.60 on Ubuntu.

===================

I've tried:

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

Here's what happens:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package igraph-python

===================

I know I also need to install c library (sudo apt-get install libigraph0) and cairo to plot graphs (sudo apt-get install libcairo2 libcairo2-dev)

I've tried to install cairo

sudo apt-get install libcairo2-dev
sudo pip install pycairo

Here's what happens

Downloading/unpacking pycairo
  Downloading pycairo-1.10.0.tar.bz2 (246Kb): 246Kb downloaded
  Running setup.py egg_info for package pycairo
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
    IOError: [Errno 2] No such file or directory: '/home/ubuntu/build/pycairo/setup.py'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

IOError: [Errno 2] No such file or directory: '/home/ubuntu/build/pycairo/setup.py'

===================

I've tried to install igraph via pip (sudo pip install igraph)

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

Bummer!
I've also tried compiling by source but can only get igraph 0.54 to work. 
I've tried this on Ubuntu 10.04, 11.10 and 12.04 (both 32bits and 64bits)
My preference is to use an Ubuntu 12.04 64 bit machine.
Tried Googling around but not finding a lot of luck.

Best,
Ron Lai

reply via email to

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