无法找到可执行文件f95,f77,xlf,ifc,g77

时间:2013-12-10 20:46:47

标签: python macos numpy setup.py

我正在尝试使用these instructions安装glmnet。当我运行python setup.py并选择要构建的交互式选项时,我会收到以下Could not locate executable XXX错误。我通过pip安装了scipy和numpy。

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 "glmnet._glmnet" sources
f2py options: []
  adding 'build/src.macosx-10.9-intel-2.7/fortranobject.c' to sources.
  adding 'build/src.macosx-10.9-intel-2.7' to include_dirs.
build_src: building npy-pkg config files
running build_py
running build_ext
customize UnixCCompiler
customize UnixCCompiler using build_ext
customize NAGFCompiler
Could not locate executable f95
customize AbsoftFCompiler
Could not locate executable f90
Could not locate executable f77
customize IBMFCompiler
Could not locate executable xlf90
Could not locate executable xlf
customize IntelFCompiler
Could not locate executable ifort
Could not locate executable ifc
customize GnuFCompiler
Could not locate executable g77
customize Gnu95FCompiler
Found executable /usr/local/bin/gfortran
customize Gnu95FCompiler
customize Gnu95FCompiler using build_ext
running scons
--Return--
> /Users/rose/221/tagger/tagger/glmnet-python/setup.py(32)<module>()->None

1 个答案:

答案 0 :(得分:1)

Could not locate并非真正的错误。一个软件包不太可能要求你安装5个不同的fortran编译器。