igraph-help
[Top][All Lists]
Advanced

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

[igraph] Install to virtualenv on OSX 10.8 failing


From: Adam Tebbe
Subject: [igraph] Install to virtualenv on OSX 10.8 failing
Date: Thu, 07 Mar 2013 08:34:33 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130216 Thunderbird/17.0.3

I'm trying to install python-igraph into a virtualenv on OSX 10.8.2.  I 
installed igraph using homebrew and have tried installing python-igraph using 
pip and easy_install.  Both fail with the following.  Any tips on how to get 
this to compile?

(virtualenv)mymachine:virtualenv adam$ easy_install python-igraph
Searching for python-igraph
Reading http://pypi.python.org/simple/python-igraph/
Best match: python-igraph 0.6.5
Downloading 
http://pypi.python.org/packages/source/p/python-igraph/python-igraph-0.6.5.tar.gz#md5=c626585baf003af855c0dc4eec0c9baa
Processing python-igraph-0.6.5.tar.gz
Running python-igraph-0.6.5/setup.py -q bdist_egg --dist-dir 
/var/folders/t8/50vlzqqs6wj2wwfft_s8rn7w0000gn/T/easy_install-2lCm7V/python-igraph-0.6.5/egg-dist-tmp-lrDni7
Include path: /usr/local/Cellar/igraph/0.6/include/igraph
Library path: /usr/local/Cellar/igraph/0.6/lib
src/convert.c: In function ‘igraphmodule_PyObject_to_degseq_t’:
src/convert.c:336: error: ‘IGRAPH_DEGSEQ_SIMPLE_NO_MULTIPLE’ undeclared (first 
use in this function)
src/convert.c:336: error: (Each undeclared identifier is reported only once
src/convert.c:336: error: for each function it appears in.)
src/convert.c: In function ‘igraphmodule_PyObject_to_rewiring_t’:
src/convert.c:382: error: ‘IGRAPH_REWIRING_SIMPLE_LOOPS’ undeclared (first use 
in this function)
src/convert.c:382: error: initializer element is not constant
src/convert.c:382: error: (near initialization for ‘rewiring_tt[1].value’)
src/convert.c:383: error: initializer element is not constant
src/convert.c:383: error: (near initialization for ‘rewiring_tt[2].value’)
error: Setup script exited with error: command '/usr/bin/llvm-gcc' failed with 
exit status 1

Thanks,
Adam




reply via email to

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