[Numpy-discussion] Still having issues with f2py

Blubaugh, David A. dblubaugh at belcan.com
Thu Sep 11 15:17:32 EDT 2008


Uwe,


I have tried your example and it look as though it would have worked.
However, I did obtain the following error!!!  

python25> python setup.py build -cmingw32
running build
running scons
customize Mingw32CCompiler
Found executable C:\gfortran\bin\gcc.exe
Ignoring "Python was built with Visual Studio 2003;
extensions must be built with a compiler than can generate compatible
binaries.
Visual Studio 2003 was not found on this system. If you have Cygwin
installed,
you can try compiling with MingW32, by passing "-c mingw32" to
setup.py." (one s
hould fix me in fcompiler/compaq.py)
customize GnuFCompiler
Could not locate executable g77
Found executable C:\Program Files\Microsoft Visual
Studio\DF98\BIN\f77.exe
gnu: no Fortran 90 compiler found
gnu: no Fortran 90 compiler found
Found executable C:\Program Files\Microsoft Visual
Studio\DF98\BIN\f77.exe
customize IntelVisualFCompiler
Could not locate executable ifl
customize AbsoftFCompiler
Found executable C:\Program Files\Microsoft Visual
Studio\DF98\BIN\f90.exe
Found executable C:\Program Files\Microsoft Visual
Studio\DF98\BIN\f90.exe
customize CompaqVisualFCompiler
Found executable C:\apps\cygwin\bin\DF.exe
Found executable C:\apps\cygwin\bin\DF.exe
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Found executable C:\gfortran\bin\gfortran.exe
Found executable C:\gfortran\bin\gfortran.exe
customize Gnu95FCompiler
customize Mingw32CCompiler
customize Mingw32CCompiler using scons
Could not locate executable g++
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands
--compiler opti
ons
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands
--fcompiler opt
ions
running build_src
building extension "_module" sources
  target build\src.win32-2.5\_modulemodule.c does not exist:
   Assuming _modulemodule.c was generated with "build_src --inplace"
command.
error: '_modulemodule.c' missing
python25>


It looks as though I am missing _modulemodule.c.  I was wondering as to
how I may obtain this file? So I may finally get f2py working. Also, you
should all know that I have executed all of these commands within
Cygwin!!


Thanks,

David Blubaugh



This e-mail transmission contains information that is confidential and may be 
privileged. It is intended only for the addressee(s) named above. If you receive 
this e-mail in error, please do not read, copy or disseminate it in any manner. 
If you are not the intended recipient, any disclosure, copying, distribution or 
use of the contents of this information is prohibited. Please reply to the 
message immediately by informing the sender that the message was misdirected. 
After replying, please erase it from your computer system. Your assistance in 
correcting this error is appreciated.




More information about the NumPy-Discussion mailing list