cmake Pyarrow的构建轮失败

up9lanfz  于 2023-02-12  发布在  其他
关注(0)|答案(2)|浏览(180)

我正在尝试pip安装超集

pip install apache-superset

并降低误差

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

已尝试安装Windows 10 SDK并更新Visual Studio工具
请帮助基本步骤,我在Python 0级做它只是为了得到超集

wh6knrhe

wh6knrhe1#

Apache超集被固定在pyarrow==0.15.1上,而pyarrow==0.15.1在Python 3.8上是不可用的,我不建议尝试从源代码构建。
请让超集开发人员更新到pyarrow==0.16.0或更高版本,同时,您可以使用Python 3.7或更低版本。

unguejic

unguejic2#

我通过升级pip setuptools wheel解决了这个问题,它基于另一个古老的帖子。
pip安装--升级pip设置工具滚轮
回复:https://github.com/pydata/bottleneck/issues/281

相关问题