Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hyjpwc opened this issue Apr 25, 2025 · 0 comments
Open

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

hyjpwc opened this issue Apr 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@hyjpwc
Copy link

hyjpwc commented Apr 25, 2025

安装过程

  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 hyjpwc added the bug Something isn't working label Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant