Bento icon indicating copy to clipboard operation
Bento copied to clipboard

f2py not found for scipy build

Open rgommers opened this issue 11 years ago • 0 comments

It seems that the scipy build can't find f2py unless it's installed as an executable. numpy.f2py can be imported; numpy was installed in-place and added to PYTHONPATH.

$ ./../Bento/bentomaker build -i -v
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 
Checking for program python              : ['/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python'] 
Checking for python version              : (2, 7, 3, 'final', 0) 
<waflib.Options.OptionsContext object at 0x101c2bf10>
Checking for 'g++' (c++ compiler)        : /usr/bin/g++ 
Checking for 'gfortran' (fortran compiler) : /usr/local/bin/gfortran 
<waflib.Configure.ConfigurationContext object at 0x101d9cc10>
Checking for program f2py                  : not found 
bentomaker: Error: bentomaker crashed (uncaught exception <class 'waflib.Errors.ConfigurationError'>: Could not find the program f2py

And the end of config.log:

 Checking for program f2py
 43 not found
 44 find program=['f2py'] paths=['/Library/Frameworks/Python.framework/Versions/2.7/bin', '/Library/Frameworks    /Python.framework/Versions/2.7/bin', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/loc    al/git/bin', '/usr/texbin', '/usr/X11/bin'] var='F2PY' -> ''

Bug or requirement?

rgommers avatar Aug 23 '12 13:08 rgommers