[Numpy-discussion] f2py cannot find gfortran compiler on OSX 10.5

Brian Granger ellisonbg.net@gmail....
Tue Nov 13 09:00:28 CST 2007

Please see the other active thread on this topic on the scipy-users
list.  This is a known issue.


On Nov 12, 2007 10:09 PM, Chris <listservs@mac.com> wrote:
> I've just upgraded my OSX system to Leopard, and have successfully build
> numpy from scratch. I am trying to build some code, which includes f2py
> extensions, that build successfully on 10.4. I have the gfortran compiler
> installed, and am building my code using:
> python setup.py config_fc --fcompiler gnu95 build
> However, when I run this, I get the following error when the Fortran code
> compiles:
> AttributeError: 'NoneType' object has no attribute 'compile'
> Is there any reason that gnu95 no longer would find gfortran? I have
> confirmed that the compiler is in my path.
> Thanks.
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion

More information about the Numpy-discussion mailing list