在Cloud SDK外壳中安装ApacheBeam时出错

问题描述 投票:0回答:1

我正在尝试安装Apache Beam for Google Cloud SDK Shell。请按照此处显示的步骤进行操作:https://beam.apache.org/get-started/quickstart-py/#get-apache-beam

我遇到了错误,如用于pyarrow的建筑轮子失败,无法构建使用PEP 517且无法直接安装的pyarrow的轮子。

  Traceback (most recent call last):
    File "c:\users\anupamasj\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\anupamasj\appdata\local\programs\python\python38\lib\runpy.py
", line 86, in _run_code
      exec(code, run_globals)
    File "C:\Users\anupamasj\AppData\Local\Programs\Python\Python38\Scripts\cmak
e.exe\__main__.py", line 4, in <module>
  ModuleNotFoundError: No module named 'cmake'
  error: command 'C:\\Users\\anupamasj\\AppData\\Local\\Programs\\Python\\Python
38\\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 instal
led directly```

google-cloud-platform google-cloud-storage google-cloud-sdk
1个回答
0
投票
@@ jmcollin92,那是一个积极的想法,谢谢。通过GCP网站中定义的过程创建虚拟环境将不支持安装Apache Beam的要求软件包。因此,我通过ANACONDA环境创建环境,并通过云Shell SDK激活,然后安装了Apache Beam。成功了!
© www.soinside.com 2019 - 2024. All rights reserved.