FunASR icon indicating copy to clipboard operation
FunASR copied to clipboard

安装时报错 提示cmake版本过低bug

Open hyjpwc opened this issue 6 months ago • 0 comments

安装过程

  1. 运行pip3 install -e ./时
  2. 报错:说cmake版本过低 Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [37 lines of output] -- Building for: Visual Studio 17 2022 CMake Error at CMakeLists.txt:15 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

    Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax

明明安装了4.0.1版本的Cmake却说版本比3.5版本低,中断了 说明版本比较太笨了,不支持4.0版本的,修改成“比3.5.1高”或“比3.5高”比较好

重装了Cmake 3.31.7版本的就能正常安装了

hyjpwc avatar Apr 25 '25 13:04 hyjpwc