[Numpy-discussion] F2py errors still

Robert Kern robert.kern@gmail....
Thu Sep 11 16:46:22 CDT 2008

On Thu, Sep 11, 2008 at 16:42, Blubaugh, David A. <dblubaugh@belcan.com> wrote:
> To All,
> I am still not sure as to why this is not working.  I believe it could
> be my windows environment variables.  However, I have set these
> variables based on the following webpage:
> http://www.scipy.org/F2PY_Windows
> The error that I obtain is the following:
> C:\python25\python C:\python25\scripts\f2py.py -c --fcomplier=gnu95
> --compiler=mingw32 -m foo foo.f90
> running build
> running scons
> No module named msvccompiler in numpy.distutils; trying from distutils
> 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.
> Why that I need to have Visual Studio 2003 is beyond me.  Does anyone
> have any suggestions.

I believe this got fixed recently. Please try the latest release
candidate of numpy 1.2.

And please try to stay in one mailing list thread.

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 Numpy-discussion mailing list