pyarrow 的构建轮失败

sau*_*esh 6 cmake pyarrow apache-superset

我正在尝试 pip install Superset

pip install apache-superset
Run Code Online (Sandbox Code Playgroud)

并低于错误

 Traceback (most recent call last):
    File "c:\users\saurav_nimesh\appdata\local\programs\python\python38\lib\runpy.py", line 193, in _run_module_as_main
      return _run_code(code, main_globals, None,
    File "c:\users\saurav_nimesh\appdata\local\programs\python\python38\lib\runpy.py", line 86, in _run_code
      exec(code, run_globals)
    File "C:\Users\saurav_nimesh\AppData\Local\Programs\Python\Python38\Scripts\cmake.exe\__main__.py", line 4, in <module>
  ModuleNotFoundError: No module named 'cmake'
  error: command 'C:\\Users\\saurav_nimesh\\AppData\\Local\\Programs\\Python\\Python38\\Scripts\\cmake.exe' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow which use PEP 517 and cannot be installed directly
Run Code Online (Sandbox Code Playgroud)

尝试安装 Windows 10 sdk 并更新 Visual Studio 工具

请帮助完成基本步骤,我在 python 中是 0 级,只是为了进入 Superset

Wes*_*ney 14

Apache Superset 被固定在pyarrow==0.15.1Python 3.8 上不可用的地方,我不建议尝试从源代码构建工作。

请要求 Superset 开发者更新到pyarrow==0.16.0或更高。同时,您可以使用 Python 3.7 或更低版本。