igraph-help
[Top][All Lists]
Advanced

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

[igraph] Installing igraph on Mac OSX snow leopart


From: Raul Guerra
Subject: [igraph] Installing igraph on Mac OSX snow leopart
Date: Tue, 1 Dec 2009 17:07:22 -0500

Hi, I have the Mac OSX snow leopard. I downloaded the .dmg file from the igraph website. I installed it, and if I run in my terminal the command igraph then it opens a python interpreter and igraph works. However, if I open python and write import igraph, then it does not work. Any ideas? I really need to get it working.

When I type igraph I get the following 

igraph 0.5.2 running inside Python 2.5.4 (r254:67916, Jul  7 2009, 23:51:24) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

it runs Python 2.5.4. However, if I run python and then import igraph, I get the following.

Python 2.6.1 (r261:67515, Jul  7 2009, 23:51:51) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import igraph
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named igraph

Notice that the python I am running is 2.6.1.

How do I make igraph work for python 2.6?

Thank you,

Raul


reply via email to

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