[Python-Dev] Re: Timing for Py2.4

"Martin v. Löwis" martin at v.loewis.de
Tue Mar 30 16:33:38 EST 2004


Paul Moore wrote:
> error: Python was built with version 7.1 of Visual Studio, and
> extensions need to be built with the same version of the compiler,
> but it isn't installed.
> 
> So even though I have the free VC7 compiler, and it's in my PATH, I
> still can't build a simple extension with it.

Of course it won't. You need VC7.1, which comes as part of
Visual Studio .NET 2003.

> I suspect it's possible, but non-trivial, to get it working. I'm not
> sure I understand distutils well enough to risk attempting to get it
> right :-(

I doubt it could work, in the general case. VC7 uses msvcr7.dll, whereas
VC7.1 uses msvcr71.dll. Mixing different versions of the C runtime is
not supported by Microsoft.

Regards,
Martin




More information about the Python-Dev mailing list