[Top][All Lists]

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

Re: [igraph] Installing igraph on Mac OSX snow leopart

From: Tamas Nepusz
Subject: Re: [igraph] Installing igraph on Mac OSX snow leopart
Date: Tue, 1 Dec 2009 23:14:37 +0000

Dear Raul,

The OS X installer for igraph was created at the time when the most recent 
version of OS X was Leopard. Leopard contains Python 2.5 by default, hence the 
installer installs igraph for Python 2.5. The Python framework was upgraded to 
2.6 in Snow Leopard, but the installer still installs igraph for Python 2.5, 
that's why you cannot make it work from the command line. You have two options 

1. From the command line, launch Python by typing python2.5  . This way you get 
access to the older Python 2.5 distribution where you can use igraph.

2. Recompile the Python extension of igraph for Python 2.6. The easiest way is 
by using easy_install:

easy_install python_igraph

You'll need the easy_install script if you don't have it already; you can get 
it here:


You'll also need the XCode Developer Tools since easy_install will compile the 
Python extension from the C source code.


reply via email to

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