J'ai anaconda installé dans mon Mac. J'essaye d'installer python-igraph.Installer python-igraph dans Mac OSX Sierra
J'ai essayé les commandes suivantes pour l'installer:
$ brew install igraph
$ pip install python-igraph
Ma configuration python:
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
Mais lorsque je tente d'importer igraph
, je reçois l'erreur suivante:
>>> 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 ow, j'ai essayé de suivre toutes les étapes qui sont fournies dans ce answer.
Mon intuition est, il pourrait être un problème lié à Anaconda parce que mon ami a installé avec succès et importé python-igraph en utilisant les commandes ci-dessus et il n'a pas installé Anaconda.
Comment puis-je résoudre ce problème et conserver Anaconda dans mon Mac?
'l'installation de conda -y -c bioconda python-igraph' a fonctionné pour moi. Merci!! –