f2py on windows tutorials

Robert Kern robert.kern at gmail.com
Tue Sep 26 19:36:50 EDT 2006


Robert Kern wrote:
> Flavio wrote:
>> Thank you Robert,
>>
>> I was surprised that the setup.py was virtually identical to the one I
>> use for Linux. However I was not at all surprised when it didn't work.
>> ;-)
>>
>> It complains it can't find msvc:
>>
>> No module named msvccompiler in numpy.distutils, trying from
>> distutils..
>> error: the .NET Framework SDK needs to be installed before building
>> extensions for Python.
>>
>> any further help will be greatly appreciated...
> 
>  From my previous post:
> Did you pass "--compiler=mingw --fcompiler=gnu" to your build command?

More specifically:

   python setup.py build_ext --compiler=mingw --fcompiler=gnu

-- 
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