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

Pip install of requirements.txt error

Offen
#9 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
290
Forks
152
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit der Prüfung von requirements.txt und reproduziere die Installation in der angegebenen Python-3.10-Codespace-Umgebung. Lies die pip-Ausgabe rund um den pyarrow-Build und den fehlenden cmake-Befehl; das Issue ist abgeschlossen, wenn die Installation der Anforderungen in dieser Umgebung erfolgreich abgeschlossen wird.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cmake, python
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.