'Error while installing pybdf in anaconda environment
I have got the below error while installing pybdf in anaconda environment. Please let me know if you have any ideas.
python version: Python 3.8.3.
I have got the same issue in miniconda environment with python 3.9.5. pip install pybdf
WARNING: Ignoring invalid distribution -atplotlib (c:\users\lokes\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -yvhr (c:\users\lokes\anaconda3\lib\site-packages)
WARNING: Ignoring invalid distribution -atplotlib (c:\users\lokes\anaconda3\lib\site-packages)
Collecting pybdf
Using cached pybdf-0.2.5.zip (595 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pybdf
Building wheel for pybdf (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [145 lines of output]
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 py_modules sources
building extension "libforbdf" sources
f2py options: []
adding 'build\src.win-amd64-3.8\build\src.win-amd64-3.8\fortranobject.c' to sources.
adding 'build\src.win-amd64-3.8\build\src.win-amd64-3.8' to include_dirs.
build_src: building npy-pkg config files
C:\Users\lokes\anaconda3\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_py
running build_ext
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_ext
CCompilerOpt.cc_test_flags[999] : testing flags (/O2)
CCompilerOpt.cc_test_flags[999] : testing flags (/WX)
CCompilerOpt.__init__[1145] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it
CCompilerOpt.__init__[1145] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it
CCompilerOpt.__init__[1674] : check requested baseline
CCompilerOpt.cc_test_flags[999] : testing flags (/arch:SSE)
CCompilerOpt.dist_test[576] : CCompilerOpt._dist_test_spawn[699] : Flags in command
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
