Azure-Samples / Azure-Samples/rag-data-openai-python-promptflow

Pip install of requirements.txt error

未关闭
#9 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
290
派生
152
PR 合并指标
30 天内没有已合并 PR

描述

### This issue is for a: (mark with an `x`)
```
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
- Create codespace
- create python venv
- run pip install -r requirements

### Any log messages given by the failure
> creating /tmp/pip-install-jf3lvr8s/pyarrow_8661bd554c554b69bd24b8f428d2714d/build/temp.linux-x86_64-cpython-312
-- Running cmake for PyArrow
cmake -DCMAKE_INSTALL_PREFIX=/tmp/pip-install-jf3lvr8s/pyarrow_8661bd554c554b69bd24b8f428d2714d/build/lib.linux-x86_64-cpython-312/pyarrow -DPYTHON_EXECUTABLE=/workspaces/rag-data-openai-python-promptflow/.venv/bin/python3 -DPython3_EXECUTABLE=/workspaces/rag-data-openai-python-promptflow/.venv/bin/python3 -DPYARROW_CXXFLAGS= -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_SUBSTRAIT=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_ACERO=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PARQUET_ENCRYPTION=off -DPYARROW_BUILD_GCS=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_CYTHON_CPP=off -DPYARROW_GENERATE_COVERAGE=off -DCMAKE_BUILD_TYPE=release /tmp/pip-install-jf3lvr8s/pyarrow_8661bd554c554b69bd24b8f428d2714d
error: command 'cmake' failed: No such file or directory
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyarrow
Failed to build pyarrow
ERROR: Could not build wheels for pyarrow, which is required to install pyproject.toml-based projects

### Expected/desired behavior
> requirements installed

### OS and Version?
FROM mcr.microsoft.com/devcontainers/python:3.10

### Versions
>main

### Mention any other details that might be useful

> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先检查 requirements.txt,并在指定的 Python 3.10 Codespace 环境中重现安装过程。阅读 pyarrow 构建过程和缺少的 cmake 命令附近的 pip 输出;当 requirements 在该环境中成功完成安装时,issue 即完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
cmake, python
领域
build-system
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。