igraph-help
[Top][All Lists]
Advanced

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

[igraph] igraph installation error on Mac 10.6


From: Nathan Salomonis
Subject: [igraph] igraph installation error on Mac 10.6
Date: Thu, 14 Feb 2013 20:52:48 -0800

Hi all,

 

I have been trying hard to get igraph installed for my Mac 10.6.8 in python 2.7. Python was upgraded from Python 2.6. I have a lot of dependencies installed for 2.7 so I would like to keep it. For igraph, so for I have tried:

 

1)   Attempting to run the igraph installer for Mac python 2.7

2)   Run from source code or pip install following homebrew installation of the igraph C components

 

#1 ----------------------------

The installer option fails at the Destination Select window with the statement:

“Python-igraph 0.6 can’t be installed on this disk. python-igraph requires Apple Python 2.7 to install”

 

Python 2.7 is the default version (not sure how to direct the installer to this – ideal solution).

 

#2 ----------------------------

The C libraries were installed in: /usr/local/Cellar/igraph/0.6/include/igraph (sym linked from /usr/local/include/). The error I get is:

….

/opt/local/include/igraph/attributes.h:326: error: expected declaration specifiers or ‘...’ before ‘igraph_strvector_t’

/opt/local/include/igraph/attributes.h:344: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token

/opt/local/include/igraph/attributes.h:348: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token

lipo: can't figure out the architecture type of: /var/folders/VR/VRc6OFUIGsS6cupB0zstt++++TI/-Tmp-//ccTla49z.out

error: command 'gcc-4.2' failed with exit status 1

 

I have tried gcc-4.0 and re-installing gcc-4.2 but to no avail. I haven’t had this issue with other python easy_install or similar applications with C components.

 

Any help you can provide would be very appreciated. The other solutions I have followed up on have not been successful (always come back to the gcc error).

 

Thank you!


Best,

Nathan


reply via email to

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