igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Error importing igraph in OSX 10.10.5


From: Tamas Nepusz
Subject: Re: [igraph] Error importing igraph in OSX 10.10.5
Date: Wed, 21 Oct 2015 21:42:58 +0200

Hi Pablo,

I tried it with Anaconda 2.1.0 to match exactly the version of
Anaconda Python that you have, but it still works for me. I'm running
out of ideas now -- maybe you could try upgrading to Anaconda Python
2.3.0 (or install it in a separate directory) to see if the problem
goes away?

(Note: I'm still on OS X 10.9. This could be a possible difference,
but I don't have the necessary free time to upgrade my machine to OS X
10.10 now - if anyone with OS X 10.10 could test this, that would be
great).

T.

T.


On Sun, Oct 18, 2015 at 12:58 AM, Pablo Moriano
<address@hidden> wrote:
> Hi Tamas,
>
> I follow your directions but it still complains about the same error
>
>>>> import igraph
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File
> "/Users/user/anaconda/lib/python2.7/site-packages/igraph/__init__.py", line
> 34, in <module>
>     from igraph._igraph import *
> ImportError:
> dlopen(/Users/user/anaconda/lib/python2.7/site-packages/igraph/_igraph.so,
> 2): Symbol not found: ___emutls_get_address
>   Referenced from:
> /Users/user/anaconda/lib/python2.7/site-packages/igraph/_igraph.so
>   Expected in: dynamic lookup
>
> The igraph installer successfully finished.
>
> Successfully built python-igraph
> Installing collected packages: python-igraph
>
> Successfully installed python-igraph-0.7.1.post6
> Cleaning up...
> Starting new HTTPS connection (1): pypi.python.org
> "GET /pypi/pip/json HTTP/1.1" 200 46090
>
> This is my anaconda configuration
>
> Python 2.7.10 |Anaconda 2.1.0 (x86_64)| (default, Sep 15 2015, 14:29:08)
>
> What else can I try?
>
> On Oct 16, 2015, at 5:22 PM, Tamas Nepusz <address@hidden> wrote:
>
> Thank you for your response. The output of the command echo `echo
> DYLD_LIBRARY_PATH' is empty. Also the output of the `which gcc’ is
> /usr/local/bin/gcc.
>
> This is probably a third-party gcc that you have installed at some
> point - and it doesn't seem to work since it throws a segmentation
> fault when you try to execute it. Please try compiling everything with
> clang instead:
>
> $ export CC=/usr/bin/clang
> $ export CXX=/usr/bin/clang++
> $ ~/anaconda/bin/pip uninstall python-igraph
> $ ~/anaconda/bin/pip install --verbose python-igraph
>
> Also, please let me know which version of Anaconda Python you are
> using. (Mine is Anaconda 2.2.0 and Python 2.7.10).
>
> T.
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
>
>
> _______________________________________________
> igraph-help mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>



reply via email to

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