unable to install wrf-python 1.3.2.4 using Intel Compiler and Python 2.7.16 ...
@erogluorhan 已经在做这个了。
开始于 2020年9月1日。
评估
这个 Issue 还没有评估数据。
描述
Hi,
I am getting following error when I try to install wrf-python 1.3.2.4 using Intel compiler and Python 2.7.16 on Cheyenne,
pip install .
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Processing /glade/u/home/turuncu/progs/wrf-python-1.3.2.4
Requirement already satisfied: numpy>=1.11 in /glade/u/home/turuncu/progs/python-2.7.16/lib/python2.7/site-packages (from wrf-python==1.3.2) (1.16.5)
Requirement already satisfied: wrapt in /glade/u/home/turuncu/progs/python-2.7.16/lib/python2.7/site-packages (from wrf-python==1.3.2) (1.11.2)
Requirement already satisfied: setuptools in /glade/u/home/turuncu/progs/python-2.7.16/lib/python2.7/site-packages (from wrf-python==1.3.2) (41.2.0)
Building wheels for collected packages: wrf-python
Building wheel for wrf-python (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /glade/u/home/turuncu/progs/python-2.7.16/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/glade/scratch/turuncu/pip-req-build-6jKU9M/setup.py'"'"'; __file__='"'"'/glade/scratch/turuncu/pip-req-build-6jKU9M/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /glade/scratch/turuncu/pip-wheel-XCh1D7 --python-tag cp27
cwd: /glade/scratch/turuncu/pip-req-build-6jKU9M/
Complete output (105 lines):
running bdist_wheel
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 "wrf._wrffortran" sources
f2py options: []
adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/wrf/fortranobject.c' to sources.
adding 'build/src.linux-x86_64-2.7/build/src.linux-x86_64-2.7/wrf' to include_dirs.
adding 'build/src.linux-x86_64-2.7/wrf/_wrffortran-f2pywrappers.f' to sources.
adding 'build/src.linux-x86_64-2.7/wrf/_wrffortran-f2pywrappers2.f90' to sources.
build_src: building npy-pkg config files
running build_py
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_wind.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/py3compat.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_dbz.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_omega.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_cloudfrac.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_uvmet.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/extension.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_dewpoint.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_pw.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/coordpair.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/cache.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/util.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/metadecorators.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/projection.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/interp.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_temp.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/geobnds.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_helicity.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/__init__.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_precip.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_ctt.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/decorators.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/constants.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_terrain.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_rh.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/interputils.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_geoht.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/latlonutils.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/api.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/version.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_slp.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/computation.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_cape.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/config.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/destag.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/projutils.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/routines.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_vorticity.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_pressure.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_latlon.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/contrib.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/g_times.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/specialdec.py -> build/lib.linux-x86_64-2.7/wrf
copying src/wrf/units.py -> build/lib.linux-x86_64-2.7/wrf
creating build/lib.linux-x86_64-2.7/wrf/data
copying src/wrf/data/psadilookup.dat -> build/lib.linux-x86_64-2.7/wrf/data
running build_ext
customize UnixCCompiler
C compiler: icc -fno-strict-aliasing -fp-model strict -fPIC -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC
creating /glade/scratch/turuncu/tmpuro7_Z/glade
creating /glade/scratch/turuncu/tmpuro7_Z/glade/scratch
creating /glade/scratch/turuncu/tmpuro7_Z/glade/scratch/turuncu
creating /glade/scratch/turuncu/tmpuro7_Z/glade/scratch/turuncu/tmpuro7_Z
compile options: '-MMD -MF /glade/scratch/turuncu/tmpuro7_Z/file.c.d -c'
icc: /glade/scratch/turuncu/tmpuro7_Z/file.c
customize UnixCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'nagfor']'
customize Gnu95FCompiler
Found executable /glade/u/apps/ch/opt/ncarcompilers/0.5.0/intel/18.0.5/ifort
Found executable /glade/u/apps/ch/opt/ncarcompilers/0.5.0/intel/18.0.5/gfortran
customize IntelFCompiler
customize LaheyFCompiler
Could not locate executable lf95
customize PGroupFCompiler
Could not locate executable pgfortran
customize AbsoftFCompiler
customize NAGFCompiler
customize VastFCompiler
customize CompaqFCompiler
customize IntelItaniumFCompiler
customize IntelEM64TFCompiler
customize GnuFCompiler
gnu: no Fortran 90 compiler found
Could not locate executable g77
Could not locate executable f77
gnu: no Fortran 90 compiler found
customize G95FCompiler
customize PathScaleFCompiler
Could not locate executable pathf95
customize NAGFORCompiler
Could not locate executable nagfor
don't know how to compile Fortran code on platform 'posix'
warning: build_ext: f77_compiler=None is not available.
building 'wrf._wrffortran' extension
error: extension 'wrf._wrffortran' has Fortran sources but no Fortran compiler found
----------------------------------------
ERROR: Failed building wheel for wrf-python
Running setup.py clean for wrf-python
Failed to build wrf-python
Is there any workaround for it?
- 主要语言
- Python
- 星标
- 498
- 派生
- 178
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NCAR/wrf-python 的其他 Issue
-
NCAR/wrf-python#309 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 38/100
NCAR/wrf-python#307 · 5 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
NCAR/wrf-python#286 · 3 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
NCAR/wrf-python#282 · 1 条评论 ·
-
PyPI releases 未关闭
NCAR/wrf-python#274 · 5 条评论 · 1 个 reaction · 已指派 1 人 ·
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 75/100
stephrobert/dsoxlab#238 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
难度 2/5 1-3 小时 新手友好度 75/100
sublimehq/package_control#1780 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
nwg-piotr/nwg-displays#145 ·