----------------------------------------
> Date: Thu, 25 Sep 2008 20:07:18 -0700
> To: [email protected]
> From: [EMAIL PROTECTED]
> Subject: Re: [Cython] Microsoft Visual C++ 2008 Express Edition‏
> 
> Kevin Ar18 wrote:
>> Are there any step by step instructions for installing Cython with Microsoft 
>> Visual C++ 2008 Express Edition?
>> I just get install errors.
> 
> IIRC Python 2.5.x's distutils do not support MSVC 2008 of any kind, just 
> 2003 and 2005. Python 2.6 (now in rc status) does support it.

Is 2.6 stable enough?  The app needs accurate computation.


>> ...and here's the latest error:
>> C:\...\Cython-0.9.8.1.1>python setup.py install
>> Compiling module Cython.Plex.Scanners ...
>> running install
>> running build
>> running build_py
>> running build_ext
>> building 'Cython.Plex.Scanners' extension
>> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe /c /nologo 
>> /Ox
>> /MD /W3 /GS- /DNDEBUG "-IC:\Program Files\Python 2.5.2\include" 
>> "-IC:\Program Fi
>> les\Python 2.5.2\PC" /TcC:\...\Cython-0.9.8.1.1\Cython\Plex\Scanners.c
>> /Fobuild\temp.win32-2.5\Release\...\Cython-0.9.8.1.1\Cython\Plex\Scanners.obj
>> Scanners.c
>> c:\program files\python 2.5.2\include\pyconfig.h(61) : fatal error C1083: 
>> Cannot
>>  open include file: 'io.h': No such file or directory
>> error: command '"C:\Program Files (x86)\Microsoft Visual Studio 
>> 9.0\VC\bin\cl.ex
>> e"' failed with exit status 2
>> 
>> 
>> Been working at it for hours now...   at least I've gotten a little farther.
> 
> This is probably due to 2008 not being supported by Python 2.5. Some 
> people out there have patches for MSVC 2008 and Python 2.5.2, but you 
> have to Google for them since I did not bookmark those when I last came 
> across them. I have not looked at pyconfig.h, so I might be completely 
> wrong here.
> 
> Did you build Python yourself or did you use an installer? If you used a 
> binary build with MSVC 2005 I would not be surprised that even after 
> building the extension it might still blow up on loading due to ABI 
> breakage.

It's pre-built, but I also tried one I built with msvc 2008, but I don't know 
if I built it right....  Should building my own Python fix Cython?

hmm... let me try again...

> 
> Cheers,
> 
> Michael
> 
Thanks
BTW, I noticed there are no registry entries for MSVC like msvccompiler.py was 
looking for...   odd.
_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to