[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [igraph] python-igraph OSX Lion install errors
From: |
Bedartha Goswami |
Subject: |
Re: [igraph] python-igraph OSX Lion install errors |
Date: |
Fri, 04 Nov 2011 16:45:58 +0100 |
Hi,
I installed the gcc compilers:
bedartha$ ls -la /usr/bin/gc*
lrwxr-xr-x 1 bedartha wheel 12 Nov 4 16:29 /usr/bin/gcc ->
llvm-gcc-4.2
-rwxrwxrwx@ 1 root wheel 103492 Nov 3 01:37 /usr/bin/gcc-4.0
-rwxr-xr-x 1 root wheel 113024 May 16 06:37 /usr/bin/gcc-4.2
lrwxr-xr-x 1 bedartha wheel 8 Nov 4 16:29 /usr/bin/gcov -> gcov-4.2
-rwxr-xr-x 1 root wheel 137984 May 16 06:37 /usr/bin/gcov-4.2
bedartha$ ls -la /usr/bin/g+*
lrwxr-xr-x 1 bedartha wheel 12 Nov 4 16:29 /usr/bin/g++ ->
llvm-g++-4.2
-rwxr-xr-x 1 root wheel 113024 May 16 06:37 /usr/bin/g++-4.2
So now I tried building and installing the python-extension using (in
"python-igraph-0.5.4"):
$ CFLAGS="-arch i386" CXXFLAGS="-arch i386" python setup.py build
$ sudo python setup.py install
It did not give any errors :)
But I cannot seem to import "igraph" (maybe i don't know how):
bedartha$ python
Python 2.7.2 (v2.7.2:8527427914a2, Jun 11 2011, 15:22:34)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import igraph
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "igraph/__init__.py", line 30, in <module>
from igraph.core import *
ImportError: No module named core
Regards,
Bedartha
Tamas Nepusz writes:
I don't have it (i.e. gcc-4.2):
bedartha$ ls -la /usr/bin/gcc-4.2 ls: /usr/bin/gcc-4.2: No such file or
directory
I've googled around a bit and it looks like the non-LLVM-based gcc was
removed from XCode since XCode 4.2; I've been having XCode on my machine
since XCode 3 so that's why I haven't noticed it.
There's a package which installs the non-LLVM-based gcc on Mac OS X Lion;
try this:
https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.7-v2.pkg
--
T.
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
install-python-igraph-ext-OSXLion_9
Description: Text document
- Re: [igraph] python-igraph OSX Lion install errors, (continued)
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors,
Bedartha Goswami <=
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04
- Re: [igraph] python-igraph OSX Lion install errors, Tamas Nepusz, 2011/11/04
Re: [igraph] python-igraph OSX Lion install errors, Bedartha Goswami, 2011/11/04