Ich habe Anaconda in meinem Mac installiert. Ich versuche Python-igraph zu installieren.Installieren Sie Python-igraph in Mac OSX Sierra
Ich habe versucht, die folgenden Befehle ein, es zu installieren:
$ brew install igraph
$ pip install python-igraph
Mein Python-Setup:
Python 2.7.13 |Anaconda custom (x86_64)| (default, Dec 20 2016, 23:05:08)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin`
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
Aber wenn ich versuche igraph
zu importieren, erhalte ich folgende Fehlermeldung:
>>> import igraph
Traceback (most recent call last):
File "", line 1, in
File "/Users/arefindk/anaconda2/lib/python2.7/site-packages/igraph/init.py", line 34, in
from igraph._igraph import *
ImportError: dlopen(/Users/arefindk/anaconda2/lib/python2.7/site-packages/igraph/_igraph.so, 2): Symbol not found: _iconv
Referenced from: /Users/arefindk/anaconda2/lib/python2.7/site-packages/igraph/_igraph.so
Expected in: flat namespace
in /Users/arefindk/anaconda2/lib/python2.7/site-packages/igraph/_igraph.so
N Ich habe versucht, alle Schritte zu befolgen, die in dieser answer bereitgestellt werden.
Meine Ahnung ist, könnte es ein Problem im Zusammenhang mit Anaconda sein, weil mein Freund erfolgreich installiert und importiert Python-igraph mit den obigen Befehlen und er hat nicht Anaconda installiert.
Wie kann ich dieses Problem lösen und Anaconda in meinem Mac behalten?
'conda install -y -c bioconda python-igraph' arbeitete für mich. Vielen Dank!! –