[f2py] Newbie Problem
| Newsgroups | gmane.comp.python.f2py.user |
|---|---|
| Message-ID | <1020709625.8964761259769393511.JavaMail.root@sz0120a.emeryville.ca.mail.comcast.net> |
I'm running under windows.vista I have Cygwin installed. I ran: f2py -c fib1.f -m fib1 with the results shown in the attachments. I don't understand: 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. Which setup.py do I use? thanks _______________________________________________ f2py-users mailing list f2py-users-Y4l6ocDipWCuvFJfX82//[email protected] http://cens.ioc.ee/mailman/listinfo/f2py-users
out.txt
(text/plain, 1.4 KB)
running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension "fib1" sources f2py options: [] f2py:> c:\users\george\appdata\local\temp\tmpakcy9n\src.win32-2.5\fib1module.c creating c:\users\george\appdata\local\temp\tmpakcy9n creating c:\users\george\appdata\local\temp\tmpakcy9n\src.win32-2.5 Reading fortran codes... Reading file 'fib1.f' (format:fix,strict) Post-processing... Block: fib1 Block: fib Post-processing (stage 2)... Building modules... Building module "fib1"... Constructing wrapper function "fib"... fib(a,[n]) Wrote C/API module "fib1" to file "c:\users\george\appdata\local\temp\tmpakcy9n\src.win32-2.5/fib1module.c" adding 'c:\users\george\appdata\local\temp\tmpakcy9n\src.win32-2.5\fortranobject.c' to sources. adding 'c:\users\george\appdata\local\temp\tmpakcy9n\src.win32-2.5' to include_dirs. copying c:\Python25\lib\site-packages\numpy\f2py\src\fortranobject.c -> c:\users\george\appdata\local\temp\tmpakcy9n\src.win32-2.5 copying c:\Python25\lib\site-packages\numpy\f2py\src\fortranobject.h -> c:\users\george\appdata\local\temp\tmpakcy9n\src.win32-2.5 build_src: building npy-pkg config files running build_ext No module named msvccompiler in numpy.distutils; trying from distutils
err.txt
(text/plain, 281 B)
error: 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.