Hello, As Gabor has confirmed it, the DMG won’t work because it installs igraph for the system Python (that comes built-in with Mac OS X) and not Anaconda Python. You have to compile the Python module yourself. easy_installing python-igraph does not work yet because you have not downloaded and installed the C core of igraph, and the Python interface depends on the C core.
Actually, I was a bit lazy as I haven’t released the 0.7 version of the Python interface yet even though the core C library is already at version 0.7. Let me release the 0.7 version first (I’ll do it today) and then you can retry with easy_install because the installer of the 0.7 version should now be smart enough to download and compile the corresponding C library as well if you have not installed it already. All the best, -- T. ------------------------------------------------------ From: David Gelvez Alvarez [email protected] Reply: Help for igraph users [email protected] Date: 10 March 2014 at 01:47:20 To: [email protected] [email protected] Subject: [igraph] Installation error > Dear all, > > Thanks a lot for your help. I'm trying to install igraph for python but I > have not been able to do it. I have the Anaconda Python version. > > I downloaded the dmg for the 0.7 version and followed the dialog and the > import does not work. Also, I tried to use the easy install and I get the > following error: > > In file included from src/arpackobject.c:23: > src/arpackobject.h:27:10: fatal error: 'igraph_arpack.h' file not found > #include > ^ > 1 error generated. > error: Setup script exited with error: command 'gcc' failed with exit > status 1 > > Can some one give me a hand? > > Kind regards, > > David > _______________________________________________ > igraph-help mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/igraph-help > _______________________________________________ igraph-help mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/igraph-help
