1

安装 h3 会引发错误

pip install h3

尝试安装 h3 (uber-api) 时出现错误日志。构建失败是我多次尝试的结果。尝试帮助我解决一些问题

Collecting h3
Using cached h3-3.7.3.tar.gz (17.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Building wheels for collected packages: h3
Building wheel for h3 (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\Softwares\MiniConda\envs\scstv16-master\python.exe' 
'D:\Softwares\MiniConda\envs\scstv16-master\lib\site-

packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C
:\Users\Samar\AppData\Local\Temp\tmpmkh239s9'
       cwd: C:\Users\Samar\AppData\Local\Temp\pip-install-hfkw98sf\h3_a82b52f712ae41309ab8ffcfabd0f09b
  Complete output (293 lines):
  Not searching for unused variables given on the command line.
  CMake Error: CMake was unable to find a build program corresponding to "Ninja".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
  -- Configuring incomplete, errors occurred!
  See also "C:/Users/Samar/AppData/Local/Temp/pip-install-hfkw98sf/h3_a82b52f712ae41309ab8ffcfabd0f09b/_cmake_test_compile/build/CMakeFiles/CMakeOutput.log".
..........
..........
..........
..........
Failed to build h3
ERROR: Could not build wheels for h3 which use PEP 517 and cannot be installed directly

帮助找到解决方案✌️

4

0 回答 0