igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] python 2.5 installer for igraph 5.2?


From: Tamas Nepusz
Subject: Re: [igraph] python 2.5 installer for igraph 5.2?
Date: Thu, 28 May 2009 23:25:21 +0100

Hi Jose,

Is there a python 2.5 installer for igraph 5.2 (latest)?
No, there isn't, at least not at the moment. The reason is that Windows XP that's running in my VirtualBox has Visual Studio 2008 Express -- which is unsupported as a Python extension compiler before Python 2.6.

if not, how hard is it to build it on windows?
Well, it's not a trivial task but not impossible. We have a lot of experience in that now ;) The first thing is that you should try to stick to Microsoft Visual Studio because Python is also built with MSVC, hence it links to a different version of the Microsoft C Runtime than Cygwin or MinGW. If you try to compile igraph with MinGW or Cygwin, you will end up with mixing different versions of the C runtime and funny things will happen when a FILE* pointer is passed between the C core of igraph and Python (since the internal structure of a file object changed somewhere between the two runtimes). If you have an earlier Visual Studio (2003 or 2005) and you are willing to give it a go, I'm happy to send you the scripts that I use. Otherwise, I might try to set up another VM with an older MSVC and compile igraph with Python 2.5 there, but I can't promise anything.

Best,
--
Tamas





reply via email to

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