Hi Adam, FYI, I have filed a pull request to the Homebrew project to upgrade the igraph formula to 0.6.5:
https://github.com/mxcl/homebrew/pull/18313 If you don't want to wait until the changes are merged, type "brew edit igraph" and replace the red lines with the green ones as seen on the following page: https://github.com/mxcl/homebrew/pull/18313/files You can then run "brew upgrade igraph" to get the latest version of igraph, after which you can simply execute "easy_install python-igraph" or "pip install python-igraph" to get the corresponding Python interface. -- Tamas On 7 Mar 2013, at 14:34, Adam Tebbe <[email protected]> wrote: > 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 > > > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
