[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] Install to virtualenv on OSX 10.8 failing
From: |
Tamás Nepusz |
Subject: |
Re: [igraph] Install to virtualenv on OSX 10.8 failing |
Date: |
Thu, 7 Mar 2013 16:19:59 +0100 |
Hi Adam,
Things are in a transition period right now; we have released igraph 0.6.5 and
the corresponding Python interface a few days ago, but Homebrew still installs
igraph 0.6 because I haven't had time to update the recipe yet. Try the
following:
easy_install python-igraph==0.6
This will force easy_install to get the 0.6 version of the Python interface.
--
T.
On 7 Mar 2013, at 14:34, Adam Tebbe <address@hidden> 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
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help