Pyrex installation on windows XP: step-by-step guide

Robert Kern robert.kern at gmail.com
Sun May 21 21:44:02 EDT 2006


Jim Lewis wrote:
>>and change "-lmsvcrt" to "-lmsvcr71".
> 
> But then I get this 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.
> I want to use mingw.

You have to tell distutils to use mingw:

  python setup.py build_ext --compiler=mingw32

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
 that is made terrible by our own mad attempt to interpret it as though it had
 an underlying truth."
  -- Umberto Eco




More information about the Python-list mailing list