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

Pip install of requirements.txt error

Open
#9 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
290
Forks
152
PR merge metrics
No merged PRs in 30d

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting requirements.txt and reproducing the installation in the stated Python 3.10 Codespace environment. Read the pip output around the pyarrow build and the missing cmake command; the issue is done when the requirements install completes successfully in that environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.