apache / apache/datafusion-ballista-python

Python 3.11.2: pip install -r requirements-310.txt fails

未關閉
#35 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Shell
星號
42
分支
9
PR 合併指標
30 天內沒有已合併 PR

描述

**Describe the bug**
os: macOS 13.3
python: v3.11.2 (venv)

python -m pip install -r requirements-310.txt

```shell
Configured for RELEASE build (set with cmake -DCMAKE_BUILD_TYPE={release,debug,...})
-- Build Type: RELEASE
-- Generator: Unix Makefiles
-- Build output directory: /private/var/folders/cp/ckllsv255631cqswdnxgb5ch0000gn/T/pip-install-c9_6i9ae/pyarrow_1d986c71873643a0a659c11814f85083/build/temp.macosx-13-x86_64-cpython-311/release
-- Found Python3: /Users/r4ntix/Workspace/github/arrow-ballista-python/venv/bin/python (found version "3.11.2") found components: Interpreter Development.Module NumPy
-- Found Python3Alt: /Users/r4ntix/Workspace/github/arrow-ballista-python/venv/bin/python
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2")
-- Could NOT find Arrow (missing: Arrow_DIR)
-- Checking for module 'arrow'
-- No package 'arrow' found
CMake Error at /usr/local/Cellar/cmake/3.26.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Arrow (missing: ARROW_INCLUDE_DIR ARROW_LIB_DIR
ARROW_FULL_SO_VERSION ARROW_SO_VERSION)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.26.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindArrow.cmake:450 (find_package_handle_standard_args)
cmake_modules/FindArrowPython.cmake:46 (find_package)
CMakeLists.txt:231 (find_package)

-- Configuring incomplete, errors occurred!
error: command '/usr/local/bin/cmake' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Successfully built numpy
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects
```

**To Reproduce**
👆

**Expected behavior**

**Additional context**

貢獻指南

開啟貢獻指南

研究方向

Reproduce the failure with `python -m pip install -r requirements-310.txt` on the reported Python 3.11.2 macOS setup. Then inspect `CMakeLists.txt`, `cmake_modules/FindArrow.cmake`, and `cmake_modules/FindArrowPython.cmake` around the reported package lookup. Done means the requirements install completes without the pyarrow build failure, though the issue does not specify the intended dependency or platform change.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cmake, python
領域
build-system, data-engineering
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。