f2py on windows tutorials

Robert Kern robert.kern at gmail.com
Wed Sep 27 14:31:42 EDT 2006


Flavio wrote:
> Hi Robert,
> 
> Putting the .pyf first didn't do any good. I still get the same error
> message of unknown file type

That's ... odd. It works perfectly fine for scipy, and yet I can't get it to 
work, either, standing alone.

> However when I try to compile with f2py, all works perfectly! here is
> the command I used:
> 
> f2py -c flib.pyf flib.f --compiler=mingw32 --fcompiler=gnu
> 
> Note: if I use mingw instead of mingw32  it does not work!!

My apologies, you are right.

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