pip安装apex报错:
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
don't know how to compile Fortran code on platform 'posix' warning: build_ext: f77_compiler=None is not available. building 'apexpy.fortranapex' extension ########### EXT COMPILER OPTIMIZATION ########### Platform : Architecture: x64 Compiler : gcc CPU baseline : Requested : 'min' Enabled : SSE SSE2 SSE3 Flags : -msse -msse2 -msse3 Extra checks: none CPU dispatch : Requested : 'max -xop -fma4' Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_KNL AVX512_SKX AVX512_CNL Generated : none CCompilerOpt.cache_flush[809] : write cache to path -> /tmp/pip-install-7lzj2i8d/apexpy_7378e65f9d45405891a7ada46915e974/build/temp.linux-x86_64-3.7/ccompiler_opt_cache_ext.py error: extension 'apexpy.fortranapex' has Fortran sources but no Fortran compiler found ---------------------------------------- ERROR: Failed building wheel for apexpy Failed to build apexpy ERROR: Could not build wheels for apexpy, which is required to install pyproject.toml-based projects |
解决方法:
git clone https://github.com/NVIDIA/apex
cd apex
pip install -v --disable-pip-version-check --no-cache-dir ./

马春杰杰



最新评论
站长您好,亚马逊云咨询推广资源,望建立联系,可邮件,谢谢。
换友情链接吗?
看你的站做的挺不错的
恭喜!!太强了,硕博连读啊
雁过留毛,人过留名。
看不懂但大受震撼
每天都在战争,希望2026和平.
ZeroTier 看过多篇帖子,目前群辉、飞牛os、win11 、安卓、ubuntu ≥18.04 顺利通过,这篇相对于简单 实用、特来感谢 🙄