1. pip install cmake --default-timeout=100 -i https://pypi.tuna.tsinghua.edu.cn/simple
 

2. 第二个错误:

 -- Building for: Visual Studio 16 2019
    -- Selecting Windows SDK version  to target Windows 10.0.17763.
    -- The C compiler identification is unknown
    -- The CXX compiler identification is unknown
    CMake Error at CMakeLists.txt:14 (project):
      No CMAKE_C_COMPILER could be found.
    
 

排除法首先看看VS 2017 有没有安装  Windows SDK 10.0.17763. 我是安装了SDK后好了的。

如图:python cmake 下载失败?   No CMAKE_C_COMPILER could be found.

相关文章:

  • 2021-05-26
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
猜你喜欢
  • 2022-01-02
  • 2022-12-23
  • 2021-09-25
  • 2021-06-29
  • 2021-07-29
  • 2022-12-23
  • 2021-05-27
相关资源
相似解决方案