找不到可执行文件f95、f77、xlf、ifc、g77

2024-09-29 21:58:09 发布

您现在位置:Python中文网/ 问答频道 /正文

我正在尝试使用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

Tags: pybuildsrcconfigsetupnotrunningext

热门问题