[f2py] Configuration Problem

[email protected]
Newsgroups gmane.comp.python.f2py.user
Message-ID <826771284.10478461260111561500.JavaMail.root@sz0120a.emeryville.ca.mail.comcast.net>

following F2PY Users Guidee and Reference Manual  I executed: 



f2py -c fib1.f -m fib1 >out.txt 2>err.txt 



the results are attached. 



err.txt indicates that I should '...try compiling with MingW32, by passing "-c mingw32" to setup.py.' 



What should I 'try compiling' 



George

_______________________________________________
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\tmpyyl0rr\src.win32-2.5\fib1module.c
creating c:\users\george\appdata\local\temp\tmpyyl0rr
creating c:\users\george\appdata\local\temp\tmpyyl0rr\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\tmpyyl0rr\src.win32-2.5/fib1module.c"
  adding 'c:\users\george\appdata\local\temp\tmpyyl0rr\src.win32-2.5\fortranobject.c' to sources.
  adding 'c:\users\george\appdata\local\temp\tmpyyl0rr\src.win32-2.5' to include_dirs.
copying C:\Python25\lib\site-packages\numpy\f2py\src\fortranobject.c -> c:\users\george\appdata\local\temp\tmpyyl0rr\src.win32-2.5
copying C:\Python25\lib\site-packages\numpy\f2py\src\fortranobject.h -> c:\users\george\appdata\local\temp\tmpyyl0rr\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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.