簡體   English   中英

Datasketches.whl Linux ARM64 for AWS Glue 作業

[英]Datasketches .whl Linux ARM64 for AWS Glue Job

我在 Linux ARM64 上安裝 python datasketches==4.0.0時遇到了一些麻煩。

我在運行pip3 install datasketches==4.0.0時收到以下錯誤:

...

  subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-install-r9ab7pna/datasketches', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-install-r9ab7pna/datasketches/build/lib.linux-aarch64-cpython-37', '-DWITH_PYTHON=True', '-DCMAKE_CXX_STANDARD=11', '-DPython3_EXECUTABLE=/usr/bin/python3', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for datasketches
Failed to build datasketches
ERROR: Could not build wheels for datasketches which use PEP 517 and cannot be installed directly

我如何生成一個可以在 Linux ARM64 of datasketches==4.0.0 上運行的 whl?

我會在 ars 膠水作業上使用這個 whl。

我能夠使用以下命令在 Ubuntu 22.04 AWS Graviton2 實例 (arm64) 上安裝數據草圖。 我在嘗試使用 pip 安裝 pybind11 時確實遇到了錯誤。

sudo apt update ; sudo apt upgrade -y
sudo apt install python-is-python3 -y
sudo apt install python3-pip -y
sudo apt install cmake -y
sudo apt install python3-pybind11 -y
pip install datasketches==4.0.0

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM