Open
Description
In 05445d8, pybdf 0.2.5 was added to dependencies, but it requires fortran compiler to install pybdf.
So, one of ['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang'] these compilers should be installed.
When fortran compiler is not installed, then this error occured while creating conda environment.
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
warning: build_ext: f77_compiler=None is not available.
building 'libforbdf' extension
error: extension 'libforbdf' has Fortran sources but no Fortran compiler found
########### EXT COMPILER OPTIMIZATION ###########
Platform :
Architecture: x64
Compiler : msvc
CPU baseline :
Requested : 'min'
Enabled : SSE SSE2 SSE3
Flags : none
Extra checks: none
CPU dispatch :
Requested : 'max -xop -fma4'
Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL
Generated : none
CCompilerOpt.cache_flush[809] : write cache to path -> C:\Users\metr0\AppData\Local\Temp\pip-install-r0obsdvc\pybdf_a32e49ae207b455ea28809dfd681d120\build\temp.win-amd64-3.9\Release\ccompiler_opt_cache_ext.py
----------------------------------------
ERROR: Failed building wheel for pybdf
ERROR: Command errored out with exit status 1:
command: 'C:\Users\metr0\.conda\envs\pyvhr\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\metr0\\AppData\\Local\\Temp\\pip-install-r0obsdvc\\pybdf_a32e49ae207b455ea28809dfd681d120\\setup.py'"'"'; __file__='"'"'C:\\Users\\metr0\\AppData\\Local\\Temp\\pip-install-r0obsdvc\\pybdf_a32e49ae207b455ea28809dfd681d120\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\metr0\AppData\Local\Temp\pip-record-jz1b0wj3\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\metr0\.conda\envs\pyvhr\Include\pybdf'
cwd: C:\Users\metr0\AppData\Local\Temp\pip-install-r0obsdvc\pybdf_a32e49ae207b455ea28809dfd681d120\
Complete output (54 lines):
running install
C:\Users\metr0\.conda\envs\pyvhr\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
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 py_modules sources
building extension "libforbdf" sources
f2py options: []
adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9\fortranobject.c' to sources.
adding 'build\src.win-amd64-3.9\build\src.win-amd64-3.9' to include_dirs.
copying C:\Users\metr0\.conda\envs\pyvhr\lib\site-packages\numpy\f2py\src\fortranobject.c -> build\src.win-amd64-3.9\build\src.win-amd64-3.9
copying C:\Users\metr0\.conda\envs\pyvhr\lib\site-packages\numpy\f2py\src\fortranobject.h -> build\src.win-amd64-3.9\build\src.win-amd64-3.9
build_src: building npy-pkg config files
running build_py
creating build\lib.win-amd64-3.9
copying pybdf.py -> build\lib.win-amd64-3.9
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
warning: build_ext: f77_compiler=None is not available.
building 'libforbdf' extension
error: extension 'libforbdf' has Fortran sources but no Fortran compiler found
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\metr0\.conda\envs\pyvhr\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\metr0\\AppData\\Local\\Temp\\pip-install-r0obsdvc\\pybdf_a32e49ae207b455ea28809dfd681d120\\setup.py'"'"'; __file__='"'"'C:\\Users\\metr0\\AppData\\Local\\Temp\\pip-install-r0obsdvc\\pybdf_a32e49ae207b455ea28809dfd681d120\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\metr0\AppData\Local\Temp\pip-record-jz1b0wj3\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\metr0\.conda\envs\pyvhr\Include\pybdf' Check the logs for full command output.
failed
Metadata
Metadata
Assignees
Labels
No labels