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: Pablo Moriano
Subject: Re: [igraph] Error importing igraph in OSX 10.10.5
Date: Sat, 17 Oct 2015 18:58:41 -0400

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


reply via email to

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