Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

unable to install wrf-python 1.3.2.4 using Intel Compiler and Python 2.7.16 ...

Abierto
#99 6 comentarios 0 reacciones 1 asignado Ver en GitHub

@erogluorhan ya está trabajando en esto.

Desde el 1/9/2020.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug support

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?

Lenguaje dominante
Python
Estrellas
498
Forks
178
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de NCAR/wrf-python

Todos los issues de NCAR/wrf-python

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.